SocketSetServer Class Reference
[Sockets]

Accepts connections at a port and automatically adds them to the SocketSet. More...

#include <SocketSet.h>

Inheritance diagram for SocketSetServer:
ISocketService IPortListenerListener

List of all members.

Public Member Functions

 SocketSetServer (IServerConnectionFactory *conFactory, int serverPort)
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

SocketSet m_ss
PortListener m_listener
IServerConnectionFactorym_conFactory

Detailed Description

Accepts connections at a port and automatically adds them to the SocketSet.

Definition at line 197 of file SocketSet.h.


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