RtpsUdpDataLink.inl

Go to the documentation of this file.
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 void
00012 RtpsUdpDataLink::send_strategy(RtpsUdpSendStrategy* send_strategy)
00013 {
00014   send_strategy_ = send_strategy;
00015 }
00016 
00017 ACE_INLINE void
00018 RtpsUdpDataLink::receive_strategy(RtpsUdpReceiveStrategy* recv_strategy)
00019 {
00020   recv_strategy_ = recv_strategy;
00021 }
00022 
00023 ACE_INLINE RtpsUdpInst*
00024 RtpsUdpDataLink::config()
00025 {
00026   return config_;
00027 }
00028 
00029 ACE_INLINE ACE_Reactor*
00030 RtpsUdpDataLink::get_reactor()
00031 {
00032   if (reactor_task_ == 0) return 0;
00033   return reactor_task_->get_reactor();
00034 }
00035 
00036 ACE_INLINE bool
00037 RtpsUdpDataLink::reactor_is_shut_down()
00038 {
00039   if (reactor_task_ == 0) return true;
00040   return reactor_task_->is_shut_down();
00041 }
00042 
00043 ACE_INLINE ACE_SOCK_Dgram&
00044 RtpsUdpDataLink::unicast_socket()
00045 {
00046   return unicast_socket_;
00047 }
00048 
00049 ACE_INLINE ACE_SOCK_Dgram_Mcast&
00050 RtpsUdpDataLink::multicast_socket()
00051 {
00052   return multicast_socket_;
00053 }
00054 
00055 ACE_INLINE void
00056 RtpsUdpDataLink::release_remote_i(const RepoId& remote_id)
00057 {
00058   locators_.erase(remote_id);
00059 }
00060 
00061 } // namespace DCPS
00062 } // namespace OpenDDS

Generated on Fri Feb 12 20:05:26 2016 for OpenDDS by  doxygen 1.4.7