Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::messaging Namespace Reference

Classes

struct  HeaderOnlyMessage
 
class  MessageDispatcher
 
struct  MessageHandler
 
struct  MsgHeader
 
class  StreamDispatcher
 
struct  TypedMessage
 

Typedefs

using message_handler = std::function< bool(msgpack::object &, msgpack::sbuffer &)>
 

Enumerations

enum  SystemMsgTypes { TERMINATE = 0 , PING = 1 , PONG = 2 }
 

Variables

const uint32_t FIRST_APP_MSG_TYPE = 100
 

Typedef Documentation

◆ message_handler

using bb::messaging::message_handler = typedef std::function<bool(msgpack::object&, msgpack::sbuffer&)>

Definition at line 17 of file dispatcher.hpp.

Enumeration Type Documentation

◆ SystemMsgTypes

Enumerator
TERMINATE 
PING 
PONG 

Definition at line 8 of file header.hpp.

Variable Documentation

◆ FIRST_APP_MSG_TYPE

const uint32_t bb::messaging::FIRST_APP_MSG_TYPE = 100

Definition at line 10 of file header.hpp.