Beamlib 3.3.2
This is the Beam C++ class library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BoapServerConnection Class Reference

Boap server connection. More...

#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 ()
 
virtual void * function ()
 

Detailed Description

Boap server connection.

Constructor & Destructor Documentation

◆ BoapServerConnection()

BoapServerConnection::BoapServerConnection ( BoapServer boapServer,
int  fd 
)

◆ ~BoapServerConnection()

BoapServerConnection::~BoapServerConnection ( )
virtual

Member Function Documentation

◆ init()

BError BoapServerConnection::init ( )
virtual

Initialise connection.

◆ process()

BError BoapServerConnection::process ( )
virtual

◆ getSocket()

BSocket & BoapServerConnection::getSocket ( )
virtual

◆ setMaxLength()

void BoapServerConnection::setMaxLength ( BUInt32  maxLength)
virtual

◆ getHead()

BError BoapServerConnection::getHead ( BoapPacketHead head)
virtual

◆ validate()

BError BoapServerConnection::validate ( )
virtual

Validate the connection.


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