PooledSocketSet Class Reference
[Sockets]

Creates 64 SocketSets, each with its own thread -- performance should be close to windows IO completion ports. More...

#include <PooledSocketSet.h>

Inheritance diagram for PooledSocketSet:
ISocketService

List of all members.

Public Member Functions

 PooledSocketSet (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 ()
void CheckMem () const
void ValidateMem () const

Protected Member Functions

void RemoveSocket (TcpSocket &sp)

Protected Attributes

Vector< SocketSetPtrm_sets
int m_socketCount
Mutex m_setsMtx

Detailed Description

Creates 64 SocketSets, each with its own thread -- performance should be close to windows IO completion ports.

Definition at line 37 of file PooledSocketSet.h.


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