00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 namespace OpenDDS { 00009 namespace DCPS { 00010 00011 ACE_INLINE MulticastTransport* 00012 MulticastDataLink::transport() 00013 { 00014 return this->transport_; 00015 } 00016 00017 ACE_INLINE MulticastPeer 00018 MulticastDataLink::local_peer() const 00019 { 00020 return this->local_peer_; 00021 } 00022 00023 ACE_INLINE MulticastSendStrategy* 00024 MulticastDataLink::send_strategy() 00025 { 00026 return this->send_strategy_.in(); 00027 } 00028 00029 ACE_INLINE MulticastReceiveStrategy* 00030 MulticastDataLink::receive_strategy() 00031 { 00032 return this->recv_strategy_.in(); 00033 } 00034 00035 ACE_INLINE SingleSendBuffer* 00036 MulticastDataLink::send_buffer() 00037 { 00038 return this->send_buffer_; 00039 } 00040 00041 ACE_INLINE MulticastInst* 00042 MulticastDataLink::config() 00043 { 00044 return this->config_; 00045 } 00046 00047 ACE_INLINE TransportReactorTask* 00048 MulticastDataLink::reactor_task() 00049 { 00050 return this->reactor_task_; 00051 } 00052 00053 ACE_INLINE ACE_Reactor* 00054 MulticastDataLink::get_reactor() 00055 { 00056 if (this->reactor_task_ == 0) return 0; 00057 return this->reactor_task_->get_reactor(); 00058 } 00059 00060 ACE_INLINE ACE_Proactor* 00061 MulticastDataLink::get_proactor() 00062 { 00063 if (this->reactor_task_ == 0) return 0; 00064 return this->reactor_task_->get_proactor(); 00065 } 00066 00067 ACE_INLINE ACE_SOCK_Dgram_Mcast& 00068 MulticastDataLink::socket() 00069 { 00070 return this->socket_; 00071 } 00072 00073 } // namespace DCPS 00074 } // namespace OpenDDS