00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 00009 00010 namespace OpenDDS { 00011 namespace DCPS { 00012 00013 ACE_INLINE bool 00014 UdpDataLink::active() const 00015 { 00016 return this->active_; 00017 } 00018 00019 00020 ACE_INLINE TransportReactorTask* 00021 UdpDataLink::reactor_task() 00022 { 00023 return this->reactor_task_; 00024 } 00025 00026 ACE_INLINE ACE_Reactor* 00027 UdpDataLink::get_reactor() 00028 { 00029 if (this->reactor_task_ == 0) return 0; 00030 return this->reactor_task_->get_reactor(); 00031 } 00032 00033 ACE_INLINE ACE_INET_Addr& 00034 UdpDataLink::remote_address() 00035 { 00036 return this->remote_address_; 00037 } 00038 00039 ACE_INLINE ACE_SOCK_Dgram& 00040 UdpDataLink::socket() 00041 { 00042 return this->socket_; 00043 } 00044 00045 } // namespace DCPS 00046 } // namespace OpenDDS 00047 00048 OPENDDS_END_VERSIONED_NAMESPACE_DECL