#include "dds/DCPS/dcps_export.h"#include "tao/Basic_Types.h"#include "ace/INET_Addr.h"#include "ace/CDR_Stream.h"#include <string>#include <vector>Include dependency graph for NetworkAddress.h:

This graph shows which files directly or indirectly include this file:

Namespaces | |
| namespace | OpenDDS |
| namespace | OpenDDS::DCPS |
Classes | |
| struct | OpenDDS::DCPS::HostnameInfo |
| struct | OpenDDS::DCPS::NetworkAddress |
| Defines a wrapper around address info which is used for advertise. More... | |
Typedefs | |
| typedef std::vector< HostnameInfo > | OpenDDS::DCPS::HostnameInfoVector |
Functions | |
| OpenDDS_Dcps_Export ACE_CDR::Boolean | operator<< (ACE_OutputCDR &outCdr, OpenDDS::DCPS::NetworkAddress &value) |
| Marshal into a buffer. | |
| OpenDDS_Dcps_Export ACE_CDR::Boolean | operator>> (ACE_InputCDR &inCdr, OpenDDS::DCPS::NetworkAddress &value) |
| Demarshal from a buffer. | |
| OpenDDS_Dcps_Export const std::string & | get_fully_qualified_hostname () |
| OpenDDS_Dcps_Export const std::string& get_fully_qualified_hostname | ( | ) |
Helper function to get the fully qualified hostname. It attempts to discover the FQDN by the network interface addresses, however the result is impacted by the network configuration, so it returns name in the order whoever is found first - FQDN, short hostname, name resolved from loopback address. In the case using short hostname or name resolved from loopback, a warning is logged. If there is no any name discovered from network interfaces, an error is logged.
| OpenDDS_Dcps_Export ACE_CDR::Boolean operator<< | ( | ACE_OutputCDR & | outCdr, | |
| OpenDDS::DCPS::NetworkAddress & | value | |||
| ) |
Marshal into a buffer.
| OpenDDS_Dcps_Export ACE_CDR::Boolean operator>> | ( | ACE_InputCDR & | inCdr, | |
| OpenDDS::DCPS::NetworkAddress & | value | |||
| ) |
Demarshal from a buffer.
1.4.7