nidas v1.2.3
|
Extra information associated with an IOChannel concerning the connection. More...
#include <ConnectionInfo.h>
Public Member Functions | |
ConnectionInfo () | |
ConnectionInfo (const nidas::util::Inet4SocketAddress &remote, const nidas::util::Inet4Address &dest, const nidas::util::Inet4NetworkInterface iface) | |
nidas::util::Inet4SocketAddress | getRemoteSocketAddress () const |
The remote address of connection. | |
void | setRemoteSocketAddress (const nidas::util::Inet4SocketAddress &val) |
const nidas::util::Inet4Address & | getDestinationAddress () const |
The destination address of the packet. | |
void | setDestinationAddress (const nidas::util::Inet4Address &val) |
const nidas::util::Inet4NetworkInterface & | getInterface () const |
The interface that the packet was received on. | |
void | setInterface (const nidas::util::Inet4NetworkInterface &val) |
Private Attributes | |
nidas::util::Inet4SocketAddress | _remotesaddr |
nidas::util::Inet4Address | _destAddr |
nidas::util::Inet4NetworkInterface | _iface |
Extra information associated with an IOChannel concerning the connection.
|
inline |
|
inline |
|
inline |
The destination address of the packet.
For a received unicast packet it will be the address of the local interface. Or the destination address could be a multicast address or a broadcast address.
References _destAddr.
Referenced by nidas::core::MultipleUDPSockets::addClient(), and nidas::dynld::UDPSampleOutput::ConnectionMonitor::addDestination().
|
inline |
The interface that the packet was received on.
References _iface.
Referenced by nidas::core::MultipleUDPSockets::addClient().
|
inline |
The remote address of connection.
References _remotesaddr.
Referenced by nidas::core::MultipleUDPSockets::addClient(), and nidas::dynld::UDPSampleOutput::ConnectionMonitor::addDestination().
|
inline |
References _destAddr, and nidas::core::getSample().
|
inline |
References _iface, and nidas::core::getSample().
|
inline |
References _remotesaddr, and nidas::core::getSample().
|
private |
Referenced by getDestinationAddress(), and setDestinationAddress().
|
private |
Referenced by getInterface(), and setInterface().
|
private |
Referenced by getRemoteSocketAddress(), and setRemoteSocketAddress().