A threaded select() IO dispatcher. More...
#include <SocketSet.h>
Public Member Functions | |
virtual void | AddSocket (IStreamReadListenerPtr listener, TcpSocketPtr sp) |
virtual void | Close () |
virtual void | CloseAndDelete () |
virtual int | SocketCount () const |
void | Broadcast (const Array< byte > &buf, const int len) |
virtual void | Join (int timeoutms) |
virtual void | Join () |
void | Lock () |
void | UnLock () |
virtual void | CheckMem () const |
virtual void | ValidateMem () const |
Protected Member Functions | |
void | WaitForIO () |
void | Run () |
bool | RemoveSocket (TcpSocket &sp) |
Protected Attributes | |
Array< byte > | m_buf |
Vector< SocketListenerPair * > | m_vread |
struct timeval * | m_to |
fd_set | m_read |
fd_set | m_excpt |
Event * | m_sockAddedEvent |
Mutex | m_svreadMutex |
volatile bool | m_running |
A threaded select() IO dispatcher.
Definition at line 119 of file SocketSet.h.