Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CODEX_Server::InternalServer Class Reference

This class listens for server-to-server connections. More...

#include <InternalServer.h>

Inheritance diagram for CODEX_Server::InternalServer:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Server::InternalServer:

Collaboration graph
[legend]
List of all members.

Public Methods

 InternalServer (int port, const CODEX_Quorum::SocketBuilder &socketBuilder)
 Constructor.

virtual ~InternalServer ()
 Virtual destructor.

void processRequest (CODEX_Quorum::SocketBase::StateType s)
 Process incoming requests.


Detailed Description

This class listens for server-to-server connections.

Definition at line 29 of file InternalServer.h.


Member Function Documentation

void InternalServer::processRequest CODEX_Quorum::SocketBase::StateType    s [virtual]
 

Process incoming requests.

Derived classes must implement this routine, which is called whenever a connection is made.

Attention:
No further connections may be handled, nor any other actions taken, until this function returns. Consequently, if you do not want your program to block on a request, you must implement some concurrency mechanism, such as an event model or threads. This class makes no assumptions about concurrency.

Implements CODEX_Quorum::LocalServer.

Definition at line 37 of file InternalServer.cc.

References CODEX_Quorum::LocalServer::builder(), CODEX_Quorum::LocalServer::port(), CODEX_Quorum::LocalServer::socket(), and CODEX_Quorum::SocketBase::StateType.


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 16:33:19 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18