Fawkes API Fawkes Development Version
protoboard::ProtobufThead::incoming_message Struct Reference

Wrapper for a ProtoBuf message and its metadata. More...

#include <protobuf_thread.h>

Public Attributes

long int peer_id
 The ProtoBuf peer ID that received this message. More...
 
boost::asio::ip::udp::endpoint endpoint
 The boost::asio UDP endpoint used by the receiving peer. More...
 
uint16_t component_id
 The ProtoBuf component ID. More...
 
uint16_t msg_type
 The ProtoBuf type ID. More...
 
std::shared_ptr< google::protobuf::Message > msg
 The message itself. More...
 

Detailed Description

Wrapper for a ProtoBuf message and its metadata.

Definition at line 66 of file protobuf_thread.h.

Member Data Documentation

◆ component_id

uint16_t protoboard::ProtobufThead::incoming_message::component_id

The ProtoBuf component ID.

Definition at line 73 of file protobuf_thread.h.

◆ endpoint

boost::asio::ip::udp::endpoint protoboard::ProtobufThead::incoming_message::endpoint

The boost::asio UDP endpoint used by the receiving peer.

Definition at line 71 of file protobuf_thread.h.

◆ msg

std::shared_ptr<google::protobuf::Message> protoboard::ProtobufThead::incoming_message::msg

The message itself.

Definition at line 77 of file protobuf_thread.h.

Referenced by protoboard::BlackboardManager::loop().

◆ msg_type

uint16_t protoboard::ProtobufThead::incoming_message::msg_type

The ProtoBuf type ID.

Definition at line 75 of file protobuf_thread.h.

◆ peer_id

long int protoboard::ProtobufThead::incoming_message::peer_id

The ProtoBuf peer ID that received this message.

Definition at line 69 of file protobuf_thread.h.


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