#include <Boap.h>
Public Member Functions | |
BoapServerConnection (BoapServer &boapServer, int fd) | |
virtual | ~BoapServerConnection () |
virtual BError | init () |
Initialise connection. | |
virtual BError | process () |
virtual BSocket & | getSocket () |
virtual void | setMaxLength (BUInt32 maxLength) |
virtual BError | getHead (BoapPacketHead &head) |
virtual BError | validate () |
Validate the connection. | |
Private Member Functions | |
void * | function () |
Private Attributes | |
BoapServer & | oboapServer |
BSocket | osocket |
BoapPacket | orx |
BoapPacket | otx |
BUInt32 | omaxLength |
BoapServerConnection::BoapServerConnection | ( | BoapServer & | boapServer, | |
int | fd | |||
) |
BoapServerConnection::~BoapServerConnection | ( | ) | [virtual] |
void * BoapServerConnection::function | ( | ) | [private, virtual] |
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.
BoapServer& BoapServerConnection::oboapServer [private] |
BUInt32 BoapServerConnection::omaxLength [private] |
BoapPacket BoapServerConnection::orx [private] |
BSocket BoapServerConnection::osocket [private] |
BoapPacket BoapServerConnection::otx [private] |