Fawkes API
Fawkes Development Version
|
Network message header. More...
#include <frame_header.h>
Public Attributes | |
uint16_t | component_id |
component id More... | |
uint16_t | msg_type |
message type More... | |
Network message header.
Header that is prepended to all messages. The component ID can be used to route a message to a particular software component. The component then can use the message type to determine how the message must be parse the payload. It is appended immediately following the header. The payload size does not include the size of the header. All numbers are given in network byte order (big endian).
Definition at line 99 of file frame_header.h.
uint16_t protobuf_comm::message_header_t::component_id |
component id
Definition at line 101 of file frame_header.h.
Referenced by protobuf_comm::MessageRegister::deserialize(), protobuf_comm::ProtobufStreamClient::disconnect(), protobuf_comm::ProtobufStreamClient::send(), protobuf_comm::ProtobufBroadcastPeer::send(), protobuf_comm::MessageRegister::serialize(), and protobuf_comm::ProtobufBroadcastPeer::set_filter_self().
uint16_t protobuf_comm::message_header_t::msg_type |
message type
Definition at line 103 of file frame_header.h.
Referenced by protobuf_comm::MessageRegister::deserialize(), protobuf_comm::ProtobufStreamClient::disconnect(), protobuf_comm::ProtobufStreamClient::send(), protobuf_comm::ProtobufBroadcastPeer::send(), protobuf_comm::MessageRegister::serialize(), and protobuf_comm::ProtobufBroadcastPeer::set_filter_self().