#include <BoapSimple.h>
Inheritance diagram for BoapClientObject:
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 |
BoapClientObject::BoapClientObject | ( | BString | name = "" |
) |
BoapClientObject::BoapClientObject | ( | BString | name | ) |
BError BoapClientObject::disconnectService | ( | ) |
Disconnects from the named service.
BString BoapClientObject::getServiceName | ( | ) |
Get the name of the service.
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::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::performSend | ( | BoapPacket & | tx | ) | [protected] |
BError BoapClientObject::performRecv | ( | BoapPacket & | rx | ) | [protected] |
BError BoapClientObject::performCall | ( | BoapPacket & | tx, | |
BoapPacket & | rx | |||
) | [protected] |
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] |