Beamlib 3.5.3
This is the Beam C++ class library.
Loading...
Searching...
No Matches
Boap.h File Reference
#include <stdint.h>
#include <BTypes.h>
#include <BPoll.h>
#include <BSocket.h>
#include <BThread.h>
#include <BError.h>
#include <BEvent1.h>
#include <BMutex.h>
#include <BTimeStamp.h>
#include <BBuffer.h>

Go to the source code of this file.

Classes

class  BoapApiVer
 Boap API version. More...
 
struct  BoapPacketHead
 Boap packet header. More...
 
class  BoapPacket
 Boap packet. More...
 
class  BoapClientObject
 Base for all Boap client objects. More...
 
class  BoapSignalObject
 A Boap object to send signals using an RPC mechanism. More...
 
class  BoapServiceEntry
 Boap server single service entry. More...
 
class  BoapServerConnection
 Boap server connection. More...
 
class  BoapServer
 Boap server. More...
 
class  BoapFuncEntry
 Boap service function. More...
 
class  BoapServiceObject
 Boap service object. More...
 

Namespaces

namespace  Boapns
 

Typedefs

typedef BUInt32 BoapService
 
typedef BError(BoapServiceObject::* BoapFunc) (BoapServerConnection *conn, BoapPacket &rx, BoapPacket &tx)
 

Enumerations

enum  BoapType { BoapTypeRpc , BoapTypeRpcReply , BoapTypeSignal , BoapTypeRpcError }
 
enum  BoapPriority { BoapPriorityLow , BoapPriorityNormal , BoapPriorityHigh }
 

Functions

class BoapApiVer __attribute__ ((aligned(2), packed))
 
 BoapApiVer (BUInt32 version=0)
 
 BoapApiVer (BUInt16 maj, BUInt16 mid)
 
 operator BUInt32 ()
 

Variables

const BUInt32 BoapMagic = 0x424F4100
 
BUInt16 mid
 The minor version component (LSW)
 
BUInt16 maj
 The major version component (MSW)
 
struct BoapPacketHead __attribute__
 

Typedef Documentation

◆ BoapService

◆ BoapFunc

typedef BError(BoapServiceObject::* BoapFunc) (BoapServerConnection *conn, BoapPacket &rx, BoapPacket &tx)

Enumeration Type Documentation

◆ BoapType

enum BoapType
Enumerator
BoapTypeRpc 
BoapTypeRpcReply 
BoapTypeSignal 
BoapTypeRpcError 

◆ BoapPriority

Enumerator
BoapPriorityLow 
BoapPriorityNormal 
BoapPriorityHigh 

Function Documentation

◆ __attribute__()

class BoapApiVer __attribute__ ( (aligned(2), packed) )

◆ BoapApiVer() [1/2]

__attribute__::BoapApiVer ( BUInt32 version = 0)

◆ BoapApiVer() [2/2]

__attribute__::BoapApiVer ( BUInt16 maj,
BUInt16 mid )

◆ operator BUInt32()

__attribute__::operator BUInt32 ( )

Variable Documentation

◆ BoapMagic

const BUInt32 BoapMagic = 0x424F4100

◆ mid

BUInt16 mid

The minor version component (LSW)

◆ maj

BUInt16 maj

The major version component (MSW)

◆ __attribute__

struct BoapPacketHead __attribute__