libcaf  0.14.4
Public Attributes | Related Functions | List of all members
caf::io::basp::header Struct Reference

The header of a Binary Actor System Protocol (BASP) message. More...

#include <basp.hpp>

Public Attributes

message_type operation
 
uint32_t payload_len
 
uint64_t operation_data
 
node_id source_node
 
node_id dest_node
 
actor_id source_actor
 
actor_id dest_actor
 

Related Functions

(Note that these are not member functions.)

std::string to_string (const header &hdr)
 
void read_hdr (deserializer &source, header &hdr)
 
void write_hdr (serializer &sink, const header &hdr)
 
bool operator== (const header &lhs, const header &rhs)
 
bool operator!= (const header &lhs, const header &rhs)
 
bool valid (const header &hdr)
 Checks whether given BASP header is valid.
 

Detailed Description

The header of a Binary Actor System Protocol (BASP) message.

A BASP header consists of a routing part, i.e., source and destination, as well as an operation and operation data. Several message types consist of only a header.


The documentation for this struct was generated from the following file: