C++ Actor Framework 1.0.0
|
The header of a Binary Actor System Protocol (BASP) message. More...
#include <header.hpp>
Public Member Functions | |
header (message_type m_operation, uint8_t m_flags, uint32_t m_payload_len, uint64_t m_operation_data, actor_id m_source_actor, actor_id m_dest_actor) | |
bool | has (uint8_t flag) const |
Queries whether this header has the given flag. | |
Public Attributes | |
message_type | operation |
uint8_t | padding1 = 0 |
uint8_t | padding2 = 0 |
uint8_t | flags |
uint32_t | payload_len |
uint64_t | operation_data |
actor_id | source_actor |
actor_id | dest_actor |
Related Symbols | |
(Note that these are not member symbols.) | |
constexpr size_t | header_size |
Size of a BASP header in serialized form. | |
template<class Inspector > | |
bool | inspect (Inspector &f, header &x) |
CAF_IO_EXPORT bool | valid (const header &hdr) |
Checks whether given BASP header is valid. | |
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.