Search Toolkit Book for CServer_Listener
#include <connect/impl/server_connection.hpp>
|
| CServer_Listener (IServer_ConnectionFactory *factory, unsigned short port) |
|
virtual CStdRequest * | CreateRequest (EServIO_Event event, CServer_ConnectionPool &connPool, const STimeout *timeout) |
|
virtual void | Activate (void) |
|
virtual void | Passivate (void) |
|
unsigned short | GetPort (void) const |
|
virtual | ~IServer_ConnectionBase () |
|
virtual EIO_Event | GetEventsToPollFor (const CTime **) const |
|
virtual bool | IsOpen (void) |
|
virtual bool | IsReadyToProcess (void) |
|
virtual void | OnTimeout (void) |
|
virtual void | OnTimer (void) |
|
virtual void | OnOverflow (EOverflowReason) |
|
| CListeningSocket (void) |
| CListeningSocket:: More...
|
|
| CListeningSocket (unsigned short port, unsigned short backlog=64, TSOCK_Flags flags=fSOCK_LogDefault) |
|
virtual | ~CListeningSocket (void) |
| Call Close(), then self-destruct. More...
|
|
EIO_Status | GetStatus (void) const |
| Return eIO_Closed if not yet bound or Close()'d. More...
|
|
EIO_Status | Listen (unsigned short port, unsigned short backlog=64, TSOCK_Flags flags=fSOCK_LogDefault) |
|
EIO_Status | Accept (CSocket *&sock, const STimeout *timeout=kInfiniteTimeout, TSOCK_Flags flags=fSOCK_LogDefault) const |
|
EIO_Status | Accept (CSocket &sock, const STimeout *timeout=kInfiniteTimeout, TSOCK_Flags flags=fSOCK_LogDefault) const |
|
EIO_Status | Close (void) |
|
virtual EIO_Status | GetOSHandle (void *handle_buf, size_t handle_size, EOwnership ownership=eNoOwnership) const |
| Access to the system-specific socket handle. More...
|
|
unsigned short | GetPort (ENH_ByteOrder byte_order) const |
| Return port which the server listens on. More...
|
|
EOwnership | SetOwnership (EOwnership if_to_own) |
| Specify if this "CListeningSocket" is to own the underlying "LSOCK". More...
|
|
LSOCK | GetLSOCK (void) const |
| Access to the underlying "LSOCK". More...
|
|
bool | IsEmpty (void) const |
|
virtual POLLABLE | GetPOLLABLE (void) const |
|
virtual | ~CPollable () |
|
Definition at line 117 of file server_connection.hpp.
The documentation for this class was generated from the following files: