Go to the documentation of this file.
18 #ifndef GZ_TRANSPORT_PACKET_HH_
19 #define GZ_TRANSPORT_PACKET_HH_
26 #include "gz/transport/config.hh"
27 #include "gz/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"
Definition: gz/transport/AdvertiseOptions.hh:28
static const uint8_t UnadvType
Definition: gz/transport/Packet.hh:44
static const uint8_t AdvType
Definition: gz/transport/Packet.hh:42
static const uint8_t SubType
Definition: gz/transport/Packet.hh:43
static const std::vector< std::string > MsgTypesStr
Used for debugging the message type received/send.
Definition: gz/transport/Packet.hh:57
static const uint8_t Uninitialized
Definition: gz/transport/Packet.hh:41
static const uint16_t FlagRelay
Definition: gz/transport/Packet.hh:51
static const uint8_t ByeType
Definition: gz/transport/Packet.hh:46
static const uint8_t EndConnection
Definition: gz/transport/Packet.hh:48
static const uint8_t NewConnection
Definition: gz/transport/Packet.hh:47
static const uint8_t HeartbeatType
Definition: gz/transport/Packet.hh:45