Inheritance diagram for lfc::SocketServer::

| Public Types | |||
| enum | State { stOpen, stClosed } | ||
| see Socket::State. More... | |||
| Public Methods | |||
| SocketServer () throw () | |||
| creates a SocketServer that doesn't do anything. More... | |||
| SocketServer (Word port, Socket::SocketType type=Socket::stStream) | |||
| creates a SocketServer and makes it listen on localhost. More... | |||
| SocketServer (string service, Socket::SocketType type=Socket::stStream) | |||
| creates a SocketServer and makes it listen on localhost. More... | |||
| virtual | ~SocketServer () throw () | ||
| virtual void | listen (Word port, Socket::SocketType type=Socket::stStream) | ||
| complementary to the corresponding constructor. More... | |||
| virtual void | listen (string service, Socket::SocketType type=Socket::stStream) | ||
| complementary to the corresponding constructor. More... | |||
| virtual void | close () | ||
| closes the SocketServer 
 | |||
| virtual State | state () const throw () | ||
| whether this Socket is open or closed. More... | |||
| Protected Methods | |||
| virtual pal::sockets::Handle | accept () | ||
| gets a connection. More... | |||
| virtual void | testState (State state, string location) const | ||
| asserts that the current SocketServer state is the one we think it is. More... | |||
| Protected Attributes | |||
| pal::sockets::Handle | m_handle | ||
| State | m_state | ||
| current state of the SocketServer, see SocketServer::State. More... | |||
| Friends | |||
| class | Socket | ||
| 
 | 
| see Socket::State. 
 | 
| 
 | 
| creates a SocketServer that doesn't do anything. 
 | 
| 
 | ||||||||||||
| creates a SocketServer and makes it listen on localhost. 
 
 
 | 
| 
 | ||||||||||||
| creates a SocketServer and makes it listen on localhost. 
 
 
 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||
| complementary to the corresponding constructor. 
 
 
 
 | 
| 
 | ||||||||||||
| complementary to the corresponding constructor. 
 
 
 
 
 | 
| 
 | 
| closes the SocketServer 
 
 | 
| 
 | 
| whether this Socket is open or closed. 
 | 
| 
 | 
| gets a connection. 
 
 
 | 
| 
 | ||||||||||||
| asserts that the current SocketServer state is the one we think it is. 
 
 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| current state of the SocketServer, see SocketServer::State. 
 | 
 1.2.11.1 written by Dimitri van Heesch,
 © 1997-2001
1.2.11.1 written by Dimitri van Heesch,
 © 1997-2001