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:68
BError performSend(BoapPacket &tx)
BoapPacket orx
Definition Boap.h:99
BError performRecv(BoapPacket &rx)
BoapClientObject(BString name)
BoapService oservice
Definition Boap.h:95
BError connectService(BString name)
BString oname
Definition Boap.h:92
BError performCall(BoapPacket &tx, BoapPacket &rx)
int oconnected
Definition Boap.h:96
BoapPacket otx
Definition Boap.h:98
Boap service function.
Definition Boap.h:219
UInt32 ocmd
Definition BoapSimple.h:171
BoapFuncEntry(int cmd, BoapFunc func)
BoapFunc ofunc
Definition Boap.h:223
Boap packet.
Definition Boap.h:49
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:165
BSocket onet
Definition Boap.h:201
BError run()
Definition BoapSimple.cc:442
BError processEvent(int fd)
BError sendEvent(BoapPacket &tx)
BError processEvent(BoapPacket &rx)
BList< BoapServiceEntry > oservices
Definition Boap.h:199
virtual BError process(BoapServerConnection *conn, BoapPacket &rx, BoapPacket &tx)
Definition Boap.cpp:813
BSocket onetEvent
Definition Boap.h:202
BString ohostName
Definition Boap.h:204
virtual BError init(BString boapNsHost="", int port=0, int threaded=0, int isBoapns=0)
Definition Boap.cpp:665
BPoll opoll
Definition Boap.h:200
BSocketAddressINET onetEventAddress
Definition Boap.h:203
BSocket & getEventSocket()
BError addObject(BoapServiceObject *object)
Boap server single service entry.
Definition Boap.h:125
BoapService oservice
Definition Boap.h:131
BoapServiceEntry(BoapService service=0, BoapServiceObject *object=0)
Definition BoapSimple.h:124
BoapServiceObject * oobject
Definition Boap.h:132
Boap service object.
Definition Boap.h:227
BoapServer & oserver
Definition Boap.h:246
virtual BError processEvent(BString objectName, BString name, Int32 arg)
BoapServiceObject(BoapServer &server, BString name)
BString name()
Definition Boap.cpp:940
BError process(BoapServerConnection *conn, BoapPacket &rx, BoapPacket &tx)
Definition Boap.cpp:993
BError sendEvent(BoapPacket &tx)
BError sendEvent(BString signalName, Int32 arg)
BList< BoapFuncEntry > ofuncList
Definition Boap.h:249
virtual BError processEvent(BoapPacket &rx)
virtual ~BoapServiceObject()
BString oname
Definition Boap.h:247
A Boap object to send signals using an RPC mechanism.
Definition Boap.h:107
BoapPacket otx
Definition Boap.h:113
BoapPacket orx
Definition Boap.h:114
BError performSend(BoapPacket &tx)
Boap packet header.
Definition Boap.h:41
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