LibBeamApi  0.3.8
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BoapServerConnection Class Reference

#include <Boap.h>

Inheritance diagram for BoapServerConnection:
BThread

Public Member Functions

 BoapServerConnection (BoapServer &boapServer, int fd)
 
virtual ~BoapServerConnection ()
 
virtual BError init ()
 Initialise connection. More...
 
virtual BError process ()
 
virtual BSocketgetSocket ()
 
virtual void setMaxLength (BUInt32 maxLength)
 
virtual BError getHead (BoapPacketHead &head)
 
virtual BError validate ()
 Validate the connection. More...
 
- Public Member Functions inherited from BThread
 BThread ()
 
virtual ~BThread ()
 
int setInitPriority (int policy, int priority)
 
int setInitStackSize (size_t stackSize)
 
int start ()
 
void * result ()
 
int running ()
 
int setPriority (int policy, int priority)
 
int cancel ()
 
void * waitForCompletion ()
 
pthread_t getThread ()
 

Private Member Functions

void * function ()
 

Private Attributes

BoapServeroboapServer
 
BSocket osocket
 
BoapPacket orx
 
BoapPacket otx
 
BUInt32 omaxLength
 

Constructor & Destructor Documentation

BoapServerConnection::BoapServerConnection ( BoapServer boapServer,
int  fd 
)
BoapServerConnection::~BoapServerConnection ( )
virtual

Member Function Documentation

void * BoapServerConnection::function ( )
privatevirtual

Reimplemented from BThread.

BError BoapServerConnection::getHead ( BoapPacketHead head)
virtual
BSocket & BoapServerConnection::getSocket ( )
virtual
BError BoapServerConnection::init ( )
virtual

Initialise connection.

BError BoapServerConnection::process ( )
virtual
void BoapServerConnection::setMaxLength ( BUInt32  maxLength)
virtual
BError BoapServerConnection::validate ( )
virtual

Validate the connection.

Member Data Documentation

BoapServer& BoapServerConnection::oboapServer
private
BUInt32 BoapServerConnection::omaxLength
private
BoapPacket BoapServerConnection::orx
private
BSocket BoapServerConnection::osocket
private
BoapPacket BoapServerConnection::otx
private

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