8 #ifndef OPENDDS_DCPS_NETWORKCONFIGMONITOR_H 9 #define OPENDDS_DCPS_NETWORKCONFIGMONITOR_H 25 : can_multicast(false)
31 , can_multicast(a_can_multicast)
36 bool is_ipv6()
const {
return address.get_type() == AF_INET6; }
37 bool exclude_from_multicast(
const char* configured_interface)
const;
48 return !(*
this == other);
72 return nia_.name == other.
name && nia_.address == other.
address;
86 virtual bool open() = 0;
87 virtual bool close() = 0;
91 void set(
const List& list);
113 #endif // OPENDDS_DCPS_NETWORKCONFIGMONITOR_H
NetworkInterfaceAddress(const OPENDDS_STRING &a_name, bool a_can_multicast, const NetworkAddress &a_address)
bool operator==(const NetworkInterfaceAddress &other) const
const NetworkInterfaceAddress & nia_
bool operator()(const NetworkInterfaceAddress &other)
#define OpenDDS_Dcps_Export
NetworkInterfaceAddressKeyEqual(const NetworkInterfaceAddress &nia)
NetworkInterfaceAddress()
int close(ACE_HANDLE handle)
ACE_HANDLE open(const char *filename, int mode, mode_t perms=ACE_DEFAULT_OPEN_PERMS, LPSECURITY_ATTRIBUTES sa=0)
bool operator!=(const NetworkInterfaceAddress &other) const
int connect(ACE_HANDLE handle, struct sockaddr *addr, int addrlen)
RcHandle< InternalDataWriter< NetworkInterfaceAddress > > writer_
RcHandle< NetworkConfigMonitor > NetworkConfigMonitor_rch
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
bool operator<(const NetworkInterfaceAddress &other) const
The Internal API and Implementation of OpenDDS.
typedef OPENDDS_LIST(SubsectionPair) KeyList