rasdaman complete source
Public Types | Public Member Functions | List of all members
NbJob Class Reference

#include <rasmgr_comm_nb.hh>

Public Types

enum  acceptStatus {
  acs_nopending = 0, acs_Iambusy = 1, acs_accepted = 2, acs_outofmem = 3,
  acs_invalidsocket = 4
}
 

Public Member Functions

 NbJob ()
 
void init (IOSelector *pselector, int maxInputBuffer)
 
acceptStatus acceptConnection (int listenSocket)
 
bool readPartialMessage ()
 
bool isMessageOK ()
 
const char * getMessage ()
 
bool initSendAnswer (const char *)
 
bool writePartialMessage ()
 
bool isOperationPending ()
 
int getSocket ()
 
const char * getRequestor ()
 
bool wasError ()
 
void closeConnection ()
 
void closeSocket ()
 
bool cleanUpIfTimeout ()
 
bool processJobTimeout ()
 
void printStatus ()
 
void clearConnection ()
 

Constructor & Destructor Documentation

NbJob::NbJob ( )

Member Function Documentation

acceptStatus NbJob::acceptConnection ( int  listenSocket)
bool NbJob::cleanUpIfTimeout ( )
void NbJob::clearConnection ( )
void NbJob::closeConnection ( )
void NbJob::closeSocket ( )
const char* NbJob::getMessage ( )
const char* NbJob::getRequestor ( )
int NbJob::getSocket ( )
void NbJob::init ( IOSelector pselector,
int  maxInputBuffer 
)
bool NbJob::initSendAnswer ( const char *  )
bool NbJob::isMessageOK ( )
bool NbJob::isOperationPending ( )
void NbJob::printStatus ( )
bool NbJob::processJobTimeout ( )
bool NbJob::readPartialMessage ( )
bool NbJob::wasError ( )
bool NbJob::writePartialMessage ( )

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