BoapClientObject Class Reference

#include <BoapSimple.h>

Inheritance diagram for BoapClientObject:

BSocket BSocket Boapns::Boapns List of all members.

Public Member Functions

 BoapClientObject (BString name="")
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.
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

Constructor & Destructor Documentation

BoapClientObject::BoapClientObject ( BString  name = ""  ) 

BoapClientObject::BoapClientObject ( BString  name  ) 


Member Function Documentation

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::ping ( BUInt32 apiVersion  ) 

Pings the connection and finds the remotes version number.

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.

BError BoapClientObject::pingLocked ( BUInt32 apiVersion  )  [protected]

BError BoapClientObject::checkApiVersion (  )  [protected]

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

Performs a RPC call to the named service.

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

Performs a send to the named service.

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

Performs a receive.

BError BoapClientObject::connectService ( BString  name  ) 

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

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

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


Member Data Documentation

BString BoapClientObject::oname [protected]

BUInt32 BoapClientObject::oapiVersion [protected]

BoapPriority BoapClientObject::opriority [protected]

BoapService BoapClientObject::oservice [protected]

int BoapClientObject::oconnected [protected]

BUInt32 BoapClientObject::omaxLength [protected]

BoapPacket BoapClientObject::otx [protected]

BoapPacket BoapClientObject::orx [protected]

BMutex BoapClientObject::olock [protected]

int BoapClientObject::otimeout [protected]

int BoapClientObject::oreconnect [protected]


The documentation for this class was generated from the following files:
Generated on Fri Sep 18 16:33:42 2009 for LibBeamApi by  doxygen 1.5.1