BoapClientObject Class Reference

#include <BoapSimple.h>

Inheritance diagram for BoapClientObject:
BSocket BSocket Boapns::Boapns

List of all members.

Public Member Functions

 BoapClientObject (BString name="")
virtual ~BoapClientObject ()
BError connectService (BString name)
 Connects to the named service.
BError disconnectService ()
 Disconnects from the named service.
BString getServiceName ()
 Get the name of the service.
BError ping (BUInt32 &apiVersion)
 Pings the connection and finds the remotes version number.
BError setConnectionPriority (BoapPriority priority)
 Sets the connection priority.
void setMaxLength (BUInt32 maxLength)
 Sets the maximum packet length.
void setTimeout (int timeout)
 Sets the timeout in micro seconds. -1 is wait indefinitely.
 BoapClientObject (BString name)
BError connectService (BString name)

Protected Member Functions

BError pingLocked (BUInt32 &apiVersion)
BError checkApiVersion ()
BError performCall (BoapPacket &tx, BoapPacket &rx)
 Performs a RPC call to the named service.
BError performSend (BoapPacket &tx)
 Performs a send to the named service.
BError performRecv (BoapPacket &rx)
 Performs a receive.
virtual BError handleReconnect (BError err)
 Handle a reconnect performing autorisaztion if required.
BError performSend (BoapPacket &tx)
BError performRecv (BoapPacket &rx)
BError performCall (BoapPacket &tx, BoapPacket &rx)

Protected Attributes

BString oname
BUInt32 oapiVersion
BoapPriority opriority
BoapService oservice
int oconnected
BUInt32 omaxLength
BoapPacket otx
BoapPacket orx
BMutex olock
int otimeout
int oreconnect
 Handle an automatic reconnect on timeout.

Constructor & Destructor Documentation

BoapClientObject::BoapClientObject ( BString  name = ""  ) 
BoapClientObject::~BoapClientObject (  )  [virtual]
BoapClientObject::BoapClientObject ( BString  name  ) 

Member Function Documentation

BError BoapClientObject::checkApiVersion (  )  [protected]
BError BoapClientObject::connectService ( BString  name  ) 
BError BoapClientObject::connectService ( BString  name  ) 

Connects to the named service.

BError BoapClientObject::disconnectService (  ) 

Disconnects from the named service.

BString BoapClientObject::getServiceName (  ) 

Get the name of the service.

BError BoapClientObject::handleReconnect ( BError  err  )  [protected, virtual]

Handle a reconnect performing autorisaztion if required.

BError BoapClientObject::performCall ( BoapPacket tx,
BoapPacket rx 
) [protected]
BError BoapClientObject::performCall ( BoapPacket tx,
BoapPacket rx 
) [protected]

Performs a RPC call to the named service.

BError BoapClientObject::performRecv ( BoapPacket rx  )  [protected]
BError BoapClientObject::performRecv ( BoapPacket rx  )  [protected]

Performs a receive.

BError BoapClientObject::performSend ( BoapPacket tx  )  [protected]
BError BoapClientObject::performSend ( BoapPacket tx  )  [protected]

Performs a send to the named service.

BError BoapClientObject::ping ( BUInt32 apiVersion  ) 

Pings the connection and finds the remotes version number.

BError BoapClientObject::pingLocked ( BUInt32 apiVersion  )  [protected]
BError BoapClientObject::setConnectionPriority ( BoapPriority  priority  ) 

Sets the connection priority.

void BoapClientObject::setMaxLength ( BUInt32  maxLength  ) 

Sets the maximum packet length.

void BoapClientObject::setTimeout ( int  timeout  ) 

Sets the timeout in micro seconds. -1 is wait indefinitely.


Member Data Documentation

Handle an automatic reconnect on timeout.

int BoapClientObject::otimeout [protected]

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

Generated on 19 Jan 2012 for LibBeamApi by  doxygen 1.6.1