rasdaman complete source
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HTTPComm Class Reference

#include <rasmgr_comm.hh>

Public Member Functions

 HTTPComm ()
 
 ~HTTPComm ()
 
void closeListenSocket ()
 
void shouldExit ()
 
char * decodeFlag (int statusFlag)
 

Protected Member Functions

int initListenSocket (int port)
 
int makeSocket (int port)
 
int sendAnswer (int socket, int len)
 
int getMessage ()
 
bool isMessage (const char *messageStart)
 

Protected Attributes

int listen_socket
 
fd_set active_fd_set
 
fd_set read_fd_set
 
struct timeval tv
 
timeval * tvptr
 
char * header
 
char * body
 
char inBuffer [MAXMSG]
 
char outBuffer [MAXMSGOUTBUFF]
 
bool exitRequest
 

Constructor & Destructor Documentation

HTTPComm::HTTPComm ( )
HTTPComm::~HTTPComm ( )

Member Function Documentation

void HTTPComm::closeListenSocket ( )
char* HTTPComm::decodeFlag ( int  statusFlag)
int HTTPComm::getMessage ( )
protected
int HTTPComm::initListenSocket ( int  port)
protected
bool HTTPComm::isMessage ( const char *  messageStart)
protected
int HTTPComm::makeSocket ( int  port)
protected
int HTTPComm::sendAnswer ( int  socket,
int  len 
)
protected
void HTTPComm::shouldExit ( )

Member Data Documentation

fd_set HTTPComm::active_fd_set
protected
char* HTTPComm::body
protected
bool HTTPComm::exitRequest
protected
char* HTTPComm::header
protected
char HTTPComm::inBuffer[MAXMSG]
protected
int HTTPComm::listen_socket
protected
char HTTPComm::outBuffer[MAXMSGOUTBUFF]
protected
fd_set HTTPComm::read_fd_set
protected
struct timeval HTTPComm::tv
protected
timeval* HTTPComm::tvptr
protected

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