SocketSet Class Reference

A threaded select() IO dispatcher. More...

#include <SocketSet.h>

Inheritance diagram for SocketSet:
ISocketService Thread IMemoryValidate

List of all members.

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
Mutex m_svreadMutex
volatile bool m_running

Detailed Description

A threaded select() IO dispatcher.

Definition at line 119 of file SocketSet.h.

The documentation for this class was generated from the following files: