Listens on a port and adds incomming connections to a PooledSocketSet. More...
#include <PooledSocketSet.h>
Public Member Functions | |
| PooledSocketServer (IServerConnectionFactory *conFactory, int serverPort, int poolSize=1024/FD_SETSIZE) | |
| virtual void | AddSocket (IStreamReadListenerPtr listener, TcpSocketPtr sp) |
| virtual void | Close () |
| virtual void | CloseAndDelete () |
| virtual int | SocketCount () const |
| virtual void | Broadcast (const Array< byte > &buf, const int len) |
| virtual void | Join (int timeoutms) |
| virtual void | Join () |
| virtual void | CheckMem () const |
| virtual void | ValidateMem () const |
Protected Member Functions | |
| virtual void | IPortListener_OnConnect (TcpSocketPtr sock) |
| virtual void | IPortListener_OnStop () |
Protected Attributes | |
| PooledSocketSet | m_ss |
| PortListener | m_listener |
| IServerConnectionFactory * | m_conFactory |
Listens on a port and adds incomming connections to a PooledSocketSet.
Definition at line 74 of file PooledSocketSet.h.