18 , mb_allocator_ (mb_allocator)
19 , db_allocator_ (db_allocator)
21 DBG_ENTRY_LVL(
"TransportReplacedElement",
"TransportReplacedElement", 6);
26 msg_.reset(TransportQueueElement::clone_mb(orig_elem->
msg(),
35 DBG_ENTRY_LVL(
"TransportReplacedElement",
"publication_id", 6);
43 DBG_ENTRY_LVL(
"TransportReplacedElement",
"duplicate_msg", 6);
TransportReplacedElement(TransportQueueElement *orig_elem, MessageBlockAllocator *mb_allocator=0, DataBlockAllocator *db_allocator=0)
GUID_t publisher_id_
The publication_id() from the original TransportQueueElement.
virtual GUID_t publication_id() const
Accessor for the publisher id.
virtual bool is_retained_replaced() const
ACE_Message_Block * cont(void) const
virtual ACE_Message_Block * duplicate(void) const
Message_Block_Ptr msg_
A deep-copy of the msg() from the original TransportQueueElement.
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
virtual bool owned_by_transport()
Is the sample created by the transport?
virtual const ACE_Message_Block * msg() const
Accessor for the ACE_Message_Block.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
virtual GUID_t publication_id() const =0
Accessor for the publication id that sent the sample.
virtual const ACE_Message_Block * msg_payload() const
The marshalled payload only (sample data)
virtual ACE_Message_Block * duplicate_msg() const
A reference-incremented duplicate of the marshalled sample (sample header + sample data) ...
Base wrapper class around a data/control sample to be sent.
virtual const ACE_Message_Block * msg() const =0
The marshalled sample (sample header + sample data)