00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #include "EntryExit.h" 00009 00010 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00011 00012 namespace OpenDDS { 00013 namespace DCPS { 00014 00015 ACE_INLINE 00016 TransportCustomizedElement::TransportCustomizedElement( 00017 TransportQueueElement* orig, bool fragment) 00018 : TransportQueueElement(1), 00019 orig_(orig), 00020 publication_id_(orig ? orig->publication_id() : GUID_UNKNOWN), 00021 fragment_(fragment), 00022 exclusive_(false) 00023 { 00024 DBG_ENTRY_LVL("TransportCustomizedElement", "TransportCustomizedElement", 6); 00025 } 00026 00027 00028 ACE_INLINE 00029 SequenceNumber 00030 TransportCustomizedElement::sequence() const 00031 { 00032 return this->orig_ ? this->orig_->sequence() 00033 : SequenceNumber::SEQUENCENUMBER_UNKNOWN(); 00034 } 00035 00036 } // namespace DCPS 00037 } // namespace OpenDDS 00038 00039 OPENDDS_END_VERSIONED_NAMESPACE_DECL