18 #ifndef IGN_TRANSPORT_PACKET_HH_ 19 #define IGN_TRANSPORT_PACKET_HH_ 26 #include "ignition/transport/config.hh" 27 #include "ignition/transport/Export.hh" 38 inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
51 static const uint16_t
FlagRelay = 0b000000000000
'0001; 52 // Flag set when we want to avoid to relay a discovery message. 53 // This is used to avoid loops. 54 static const uint16_t FlagNoRelay = 0b000000000000'0010;
59 "UNINITIALIZED",
"ADVERTISE",
"SUBSCRIBE",
"UNADVERTISE",
"HEARTBEAT",
60 "BYE",
"NEW_CONNECTION",
"END_CONNECTION" static const uint16_t FlagRelay
Definition: Packet.hh:51
static const uint8_t NewConnection
Definition: Packet.hh:47
static const uint8_t HeartbeatType
Definition: Packet.hh:45
static const uint8_t SubType
Definition: Packet.hh:43
static const uint8_t ByeType
Definition: Packet.hh:46
static const uint8_t UnadvType
Definition: Packet.hh:44
static const uint8_t EndConnection
Definition: Packet.hh:48
static const uint8_t AdvType
Definition: Packet.hh:42
static const std::vector< std::string > MsgTypesStr
Used for debugging the message type received/send.
Definition: Packet.hh:57
static const uint8_t Uninitialized
Definition: Packet.hh:41
Definition: AdvertiseOptions.hh:28