OpenDDS  Snapshot(2023/04/28-20:55)
RtpsUdpDataLink.inl
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
9 
10 namespace OpenDDS {
11 namespace DCPS {
12 
13 
14 
17 {
18  if (!reactor_task_) return 0;
19  return reactor_task_->get_reactor();
20 }
21 
24 {
26  return reactor_task_->interceptor();
27 }
28 
29 ACE_INLINE bool
31 {
32  if (!reactor_task_) return true;
33  return reactor_task_->is_shut_down();
34 }
35 
38 {
39  return unicast_socket_;
40 }
41 
44 {
45  return multicast_socket_;
46 }
47 
48 #ifdef ACE_HAS_IPV6
50 RtpsUdpDataLink::ipv6_unicast_socket()
51 {
52  return ipv6_unicast_socket_;
53 }
54 
56 RtpsUdpDataLink::ipv6_multicast_socket()
57 {
58  return ipv6_multicast_socket_;
59 }
60 #endif
61 
62 #if defined(OPENDDS_SECURITY)
65 {
67  return local_crypto_handle_;
68 }
69 
70 ACE_INLINE void
72 {
75 }
76 #endif
77 
78 } // namespace DCPS
79 } // namespace OpenDDS
80 
DDS::Security::ParticipantCryptoHandle local_crypto_handle() const
ReactorInterceptor_rch get_reactor_interceptor() const
ACE_SOCK_Dgram_Mcast & multicast_socket()
DDS::Security::ParticipantCryptoHandle local_crypto_handle_
ACE_SOCK_Dgram_Mcast multicast_socket_
RcHandle< ReactorInterceptor > ReactorInterceptor_rch
ReactorInterceptor_rch interceptor() const
Definition: ReactorTask.inl:65
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
ACE_Reactor * get_reactor()
Definition: ReactorTask.inl:14
#define ACE_INLINE
The Internal API and Implementation of OpenDDS.
Definition: AddressCache.h:28