27 #ifndef NIDAS_CORE_CONNECTIONINFO_H
28 #define NIDAS_CORE_CONNECTIONINFO_H
33 namespace nidas {
namespace core {
const nidas::util::Inet4NetworkInterface & getInterface() const
The interface that the packet was received on.
Definition: ConnectionInfo.h:70
const nidas::util::Inet4Address & getDestinationAddress() const
The destination address of the packet.
Definition: ConnectionInfo.h:63
nidas::util::Inet4SocketAddress _remotesaddr
Definition: ConnectionInfo.h:75
nidas::util::Inet4SocketAddress getRemoteSocketAddress() const
The remote address of connection.
Definition: ConnectionInfo.h:54
void setInterface(const nidas::util::Inet4NetworkInterface &val)
Definition: ConnectionInfo.h:72
A IP version 4 socket address, containing a host address, and a port number.
Definition: Inet4SocketAddress.h:41
nidas::util::Inet4Address _destAddr
Definition: ConnectionInfo.h:77
Extra information associated with an IOChannel concerning the connection.
Definition: ConnectionInfo.h:38
Definition: Inet4NetworkInterface.h:35
void setRemoteSocketAddress(const nidas::util::Inet4SocketAddress &val)
Definition: ConnectionInfo.h:56
void setDestinationAddress(const nidas::util::Inet4Address &val)
Definition: ConnectionInfo.h:65
ConnectionInfo(const nidas::util::Inet4SocketAddress &remote, const nidas::util::Inet4Address &dest, const nidas::util::Inet4NetworkInterface iface)
Definition: ConnectionInfo.h:44
Support for IP version 4 host address.
Definition: Inet4Address.h:46
nidas::util::Inet4NetworkInterface _iface
Definition: ConnectionInfo.h:79
ConnectionInfo()
Definition: ConnectionInfo.h:42