21 , first_fragment_(false)
22 , last_fragment_(false)
113 return (reader >> this->
length_) &&
bool swap_bytes() const
Determine if the serializer should swap bytes.
bool valid() const
Determine if this is a valid packet header.
static size_t get_max_serialized_size()
Similar to IDL compiler generated methods.
#define ACE_CDR_BYTE_ORDER
bool read_octet_array(ACE_CDR::Octet *x, ACE_CDR::ULong length)
static const ACE_CDR::Octet DCPS_PROTOCOL[6]
ACE_CDR::Octet reserved_
Reserved for future use (provides padding for preamble).
TransportHeader()
Default constructor.
Class to serialize and deserialize data for DDS.
ACE_CDR::Octet protocol_[6]
The protocol of the packet being transmitted.
Defines class that represents a transport packet header.
void swap_bytes(bool do_swap)
bool byte_order_
Flags: marshaled as a single byte (ACE_CDR::Octet)
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
DDS::ReturnCode_t copy(DDS::DynamicData_ptr dest, DDS::DynamicData_ptr src)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
bool init(ACE_Message_Block *buffer)
Demarshal transport packet from ACE_Message_Block.
TransportHeader & operator=(ACE_Message_Block &buffer)
Assignment from an ACE_Message_Block.
The Internal API and Implementation of OpenDDS.