rasdaman complete source
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rnp::RnpServerJob Class Reference

#include <rnpcommunication.hh>

Inheritance diagram for rnp::RnpServerJob:
RnpRasserverJob

Public Member Functions

 RnpServerJob () throw ()
 Default constructor. More...
 
void init (RnpBaseServerComm *) throw ()
 
void processRequest () throw ()
 Calls the 'RnpBaseServerComm->processRequest()' and than initiates the transmission. More...
 

Protected Member Functions

bool validateMessage () throw ()
 (See explanations from NbJob) More...
 
void executeOnAccept () throw ()
 
void executeOnWriteReady () throw ()
 
void specificCleanUpOnTimeout () throw ()
 
void executeOnReadError () throw ()
 
void executeOnWriteError () throw ()
 
void resetJob () throw ()
 

Protected Attributes

RnpBaseServerCommserverCommPtr
 
RnpReceiver rnpReceiver
 
CommBuffer transmiterBuffer
 

Detailed Description

This class represents the RNP server job. It receives the request, sends it to 'RnpBaseServerComm' for processing and gets from there the answer which it transmittes to the client

Constructor & Destructor Documentation

rnp::RnpServerJob::RnpServerJob ( )
throw (
)

Default constructor.

Member Function Documentation

void rnp::RnpServerJob::executeOnAccept ( )
throw (
)
protected
void rnp::RnpServerJob::executeOnReadError ( )
throw (
)
protected
void rnp::RnpServerJob::executeOnWriteError ( )
throw (
)
protected
void rnp::RnpServerJob::executeOnWriteReady ( )
throw (
)
protected
void rnp::RnpServerJob::init ( RnpBaseServerComm )
throw (
)

Initialization: it connects to the given 'RnpBaseServerComm' Assert: theServerComm != 0

void rnp::RnpServerJob::processRequest ( )
throw (
)

Calls the 'RnpBaseServerComm->processRequest()' and than initiates the transmission.

void rnp::RnpServerJob::resetJob ( )
throw (
)
protected
void rnp::RnpServerJob::specificCleanUpOnTimeout ( )
throw (
)
protected
bool rnp::RnpServerJob::validateMessage ( )
throw (
)
protected

(See explanations from NbJob)

Member Data Documentation

RnpReceiver rnp::RnpServerJob::rnpReceiver
protected
RnpBaseServerComm* rnp::RnpServerJob::serverCommPtr
protected
CommBuffer rnp::RnpServerJob::transmiterBuffer
protected

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