Cern
LibTmsApi 2.3.0

#include <Boap.h>

Inheritance diagram for BoapServerConnection:
BThread

Public Member Functions

 BoapServerConnection (BoapServer &boapServer, int fd)
 
virtual ~BoapServerConnection ()
 
virtual BError init ()
 Initialise connection.
 
virtual BError process ()
 
virtual BSocketgetSocket ()
 
virtual void setMaxLength (BUInt32 maxLength)
 
virtual BError getHead (BoapPacketHead &head)
 
virtual BError validate ()
 Validate the connection.
 
- 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 ()
 
virtual void * function ()
 

Private Member Functions

void * function ()
 

Private Attributes

BoapServeroboapServer
 
BSocket osocket
 
BoapPacket orx
 
BoapPacket otx
 
BUInt32 omaxLength
 

Constructor & Destructor Documentation

◆ BoapServerConnection()

BoapServerConnection::BoapServerConnection ( BoapServer boapServer,
int  fd 
)

◆ ~BoapServerConnection()

BoapServerConnection::~BoapServerConnection ( )
virtual

Member Function Documentation

◆ function()

void * BoapServerConnection::function ( )
privatevirtual

Reimplemented from BThread.

◆ getHead()

BError BoapServerConnection::getHead ( BoapPacketHead head)
virtual

◆ getSocket()

BSocket & BoapServerConnection::getSocket ( )
virtual

◆ init()

BError BoapServerConnection::init ( )
virtual

Initialise connection.

◆ process()

BError BoapServerConnection::process ( )
virtual

◆ setMaxLength()

void BoapServerConnection::setMaxLength ( BUInt32  maxLength)
virtual

◆ validate()

BError BoapServerConnection::validate ( )
virtual

Validate the connection.

Member Data Documentation

◆ oboapServer

BoapServer& BoapServerConnection::oboapServer
private

◆ omaxLength

BUInt32 BoapServerConnection::omaxLength
private

◆ orx

BoapPacket BoapServerConnection::orx
private

◆ osocket

BSocket BoapServerConnection::osocket
private

◆ otx

BoapPacket BoapServerConnection::otx
private

The documentation for this class was generated from the following files:
  • /src/cern/tms/tms/beam/libBeam/Boap.h
  • /src/cern/tms/tms/beam/libBeam/Boap.cpp