BoapMc1PacketHead head
Definition: BoapMc1.h:1
BUInt8 cmd
Definition: BoapMc.h:3
int8_t Int8
Definition: BoapSimple.h:17
double Double
Definition: BoapSimple.h:23
int32_t Int32
Definition: BoapSimple.h:21
BoapType
Definition: BoapSimple.h:25
@ BoapTypeRpc
Definition: BoapSimple.h:25
@ BoapTypeSignal
Definition: BoapSimple.h:25
int16_t Int16
Definition: BoapSimple.h:19
uint32_t UInt32
Definition: BoapSimple.h:22
uint32_t BoapService
Definition: BoapSimple.h:24
uint16_t UInt16
Definition: BoapSimple.h:20
BError(BoapServiceObject::* BoapFunc)(BoapPacket &rx, BoapPacket &tx)
Definition: BoapSimple.h:166
uint8_t UInt8
Definition: BoapSimple.h:18
BoapType
Definition: Boap.h:24
BUInt32 BoapService
Definition: Boap.h:25
BUInt32 size()
Size of the buffer in bytes.
Definition: BBuffer.cpp:33
Error return class. This class is used to return the error status from a function....
Definition: BError.h:31
Template based list class.
Definition: BList.h:31
This class provides an interface for polling a number of file descriptors. It uses round robin pollin...
Definition: BPoll.h:48
IPV4 aware socket address.
Definition: BSocket.h:58
A network communications socket.
Definition: BSocket.h:80
This class stores and manipulates ASCII strings.
Definition: BString.h:20
Base for all Boap client objects.
Definition: Boap.h:56
BError performSend(BoapPacket &tx)
BoapPacket orx
Definition: Boap.h:87
BError performRecv(BoapPacket &rx)
BoapClientObject(BString name)
BoapService oservice
Definition: Boap.h:83
BError connectService(BString name)
BString oname
Definition: Boap.h:80
BError performCall(BoapPacket &tx, BoapPacket &rx)
int oconnected
Definition: Boap.h:84
BoapPacket otx
Definition: Boap.h:86
Boap service function.
Definition: Boap.h:207
UInt32 ocmd
Definition: BoapSimple.h:171
BoapFuncEntry(int cmd, BoapFunc func)
BoapFunc ofunc
Definition: Boap.h:211
Boap packet.
Definition: Boap.h:37
int nbytes()
Definition: BoapSimple.cc:56
int push(Int8 v)
Definition: BoapSimple.cc:77
int pushHead(BoapPacketHead &head)
char * data()
Definition: BoapSimple.cc:60
BError setData(void *data, int nbytes)
Definition: BoapSimple.cc:48
int popHead(BoapPacketHead &head)
int pop(Int8 &v)
Definition: BoapSimple.cc:164
int resize(int size)
Definition: BoapSimple.cc:40
Boap server.
Definition: Boap.h:153
BSocket onet
Definition: Boap.h:189
BError run()
Definition: BoapSimple.cc:442
BError processEvent(int fd)
BError sendEvent(BoapPacket &tx)
BError processEvent(BoapPacket &rx)
BList< BoapServiceEntry > oservices
Definition: Boap.h:187
virtual BError process(BoapServerConnection *conn, BoapPacket &rx, BoapPacket &tx)
Definition: Boap.cpp:786
BSocket onetEvent
Definition: Boap.h:190
BString ohostName
Definition: Boap.h:192
virtual BError init(BString boapNsHost="", int port=0, int threaded=0, int isBoapns=0)
Definition: Boap.cpp:638
BPoll opoll
Definition: Boap.h:188
BSocketAddressINET onetEventAddress
Definition: Boap.h:191
BSocket & getEventSocket()
BError addObject(BoapServiceObject *object)
Boap server single service entry.
Definition: Boap.h:113
BoapService oservice
Definition: Boap.h:119
BoapServiceEntry(BoapService service=0, BoapServiceObject *object=0)
Definition: BoapSimple.h:124
BoapServiceObject * oobject
Definition: Boap.h:120
Boap service object.
Definition: Boap.h:215
BoapServer & oserver
Definition: Boap.h:234
virtual BError processEvent(BString objectName, BString name, Int32 arg)
BoapServiceObject(BoapServer &server, BString name)
BString name()
Definition: Boap.cpp:914
BError process(BoapServerConnection *conn, BoapPacket &rx, BoapPacket &tx)
Definition: Boap.cpp:967
BError sendEvent(BoapPacket &tx)
BError sendEvent(BString signalName, Int32 arg)
BList< BoapFuncEntry > ofuncList
Definition: Boap.h:237
virtual BError processEvent(BoapPacket &rx)
virtual ~BoapServiceObject()
BString oname
Definition: Boap.h:235
A Boap object to send signals using an RPC mechanism.
Definition: Boap.h:95
BoapPacket otx
Definition: Boap.h:101
BoapPacket orx
Definition: Boap.h:102
BError performSend(BoapPacket &tx)
Boap packet header.
Definition: Boap.h:29
UInt32 cmd
Definition: BoapSimple.h:32
BoapService service
Definition: BoapSimple.h:31
UInt32 length
Definition: BoapSimple.h:29
UInt32 reserved[12]
Definition: BoapSimple.h:33
BoapType type
Definition: BoapSimple.h:30