Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_TCPListen Class Reference

#include <tcp_listen.h>

List of all members.

Public Member Functions

 CL_TCPListen (const CL_String &port, int queue_size=5, bool force_bind=true)
 Construction:.
 CL_TCPListen (const CL_String &address, const CL_String &port, int queue_size=5, bool force_bind=true)
 ~CL_TCPListen ()
CL_Eventget_accept_event ()
 Attributes:.
CL_TCPConnectionaccept (int timeout=-1)
 Operations:.

Private Attributes

int handle
 Implementation:.
CL_SocketEventHandlersocket_event_handler
CL_Eventaccept_event


Constructor & Destructor Documentation

CL_TCPListen::CL_TCPListen const CL_String &  port,
int  queue_size = 5,
bool  force_bind = true
 

Construction:.

Definition at line 54 of file tcp_listen.cpp.

References accept_event, handle, socket_event_handler, TEXT, and CL_StringHelp::text_to_int().

CL_TCPListen::CL_TCPListen const CL_String &  address,
const CL_String &  port,
int  queue_size = 5,
bool  force_bind = true
 

Definition at line 88 of file tcp_listen.cpp.

References accept_event, handle, socket_event_handler, TEXT, CL_StringHelp::text_to_int(), and CL_StringHelp::text_to_local8().

CL_TCPListen::~CL_TCPListen  ) 
 

Definition at line 131 of file tcp_listen.cpp.

References accept_event, handle, and socket_event_handler.


Member Function Documentation

CL_TCPConnection * CL_TCPListen::accept int  timeout = -1  ) 
 

Operations:.

Definition at line 153 of file tcp_listen.cpp.

References handle.

CL_Event * CL_TCPListen::get_accept_event  ) 
 

Attributes:.

Definition at line 145 of file tcp_listen.cpp.

References accept_event.


Member Data Documentation

CL_Event* CL_TCPListen::accept_event [private]
 

Definition at line 64 of file tcp_listen.h.

Referenced by CL_TCPListen(), get_accept_event(), and ~CL_TCPListen().

int CL_TCPListen::handle [private]
 

Implementation:.

Definition at line 59 of file tcp_listen.h.

Referenced by accept(), CL_TCPListen(), and ~CL_TCPListen().

CL_SocketEventHandler* CL_TCPListen::socket_event_handler [private]
 

Definition at line 62 of file tcp_listen.h.

Referenced by CL_TCPListen(), and ~CL_TCPListen().


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:51:18 2005 for npcore by  doxygen 1.4.1