Threaded Server
[CONNECT]

Collaboration diagram for Threaded Server:


Classes

class  CServer
 CServer::. More...
class  IServer_ConnectionHandler
 IServer_ConnectionHandler::. More...
class  IServer_MessageHandler
 IServer_MessageHandler::. More...
class  IServer_LineMessageHandler
 IServer_LineMessageHandler::. More...
class  IServer_StreamHandler
 IServer_StreamHandler::. More...
class  IServer_ConnectionFactory
 IServer_ConnectionFactory::. More...
class  CServer_ConnectionFactory< TServer_ConnectionHandler >
 CServer_ConnectionFactory::. More...
struct  SServer_Parameters
 SServer_Parameters::. More...
class  CServer_Exception
 CServer_Exception::. More...
struct  IServer_Monitor
 Base interface for monitoring. More...
class  CServer_Monitor
 Server monitor. More...
class  CThreadedServerException
 Exceptions thrown by CThreadedServer::Run. More...
class  CThreadedServer
 CThreadedServer - abstract class for network servers using thread pools. More...
class  CServer_ControlConnection
class  CServer_ConnectionPool
class  IServer_ConnectionBase
class  CServer_Connection
class  CServer_Listener

Enumerations

enum  EServIO_Event {
  eServIO_Open = 0x0, eServIO_Read = 0x1, eServIO_Write = 0x2, eServIO_ReadWrite = 0x3,
  eServIO_ClientClose = 0x4, eServIO_OurClose = 0x8
}
 Extended copy of the type EIO_Event allowing to distinguish between connection closing from client and from ourselves. More...
enum  EOverflowReason { eOR_Unknown = 0, eOR_ConnectionPoolFull, eOR_RequestQueueFull, eOR_UnpollableSocket }
 Error codes for OnOverflow method in IServer_ConnectionHandler. More...

Functions

EServIO_Event IOEventToServIOEvent (EIO_Event event)
 Transform EIO_Event type to EServIO_Event.
int Server_CheckLineMessage (BUF *buffer, const void *data, size_t size, bool &seen_CR)


Enumeration Type Documentation

enum EOverflowReason
 

Error codes for OnOverflow method in IServer_ConnectionHandler.

Enumerator:
eOR_Unknown 
eOR_ConnectionPoolFull 
eOR_RequestQueueFull 
eOR_UnpollableSocket 

Definition at line 171 of file server.hpp.

enum EServIO_Event
 

Extended copy of the type EIO_Event allowing to distinguish between connection closing from client and from ourselves.

Enumerator:
eServIO_Open 
eServIO_Read 
eServIO_Write 
eServIO_ReadWrite  eIO_Read | eIO_Write
eServIO_ClientClose 
eServIO_OurClose 

Definition at line 61 of file server.hpp.


Function Documentation

EServIO_Event IOEventToServIOEvent EIO_Event  event  )  [inline]
 

Transform EIO_Event type to EServIO_Event.

Definition at line 73 of file server.hpp.

Referenced by CServer::Run().

int Server_CheckLineMessage BUF buffer,
const void *  data,
size_t  size,
bool seen_CR
 

Definition at line 86 of file server.cpp.

References skip.

Referenced by IServer_LineMessageHandler::CheckMessage().


Generated on Wed Dec 9 08:13:47 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:20:18 2009 by modify_doxy.py rev. 173732