#include <NetInterface.h>
Public Member Functions | |
void | addAddress (const NetAddress &address) |
void | addBroadcastAddress (const NetAddress &address) |
bool | contains (const NetAddress &address) |
NetAddressPtrSet | getAddresses () const |
NetAddressPtrSet | getBroadcastAddresses () const |
std::string | getName () const |
bool | matches (const NetAddress &address) |
NetInterface (const std::string name) | |
NetInterface (const NetInterface ©) | |
std::string | str () const |
Static Public Member Functions | |
static NetInterfacePtr | getDefaultRoute () |
static NetInterfacePtr | getDefaultRoute6 () |
static NetInterfacePtrList | getInterfaces () |
Protected Attributes | |
NetAddressPtrSet | addresses |
NetAddressPtrSet | addressesb |
std::string | name |
Friends | |
bool | operator< (const NetInterface &one, const NetInterface &other) |
Definition at line 19 of file NetInterface.h.
castor::net::NetInterface::NetInterface | ( | const std::string | name | ) |
Definition at line 7 of file NetInterface.cpp.
castor::net::NetInterface::NetInterface | ( | const NetInterface & | copy | ) |
Definition at line 12 of file NetInterface.cpp.
void castor::net::NetInterface::addAddress | ( | const NetAddress & | address | ) |
Definition at line 29 of file NetInterface.cpp.
void castor::net::NetInterface::addBroadcastAddress | ( | const NetAddress & | address | ) |
Definition at line 38 of file NetInterface.cpp.
bool castor::net::NetInterface::contains | ( | const NetAddress & | address | ) |
Definition at line 47 of file NetInterface.cpp.
Definition at line 21 of file NetInterface.cpp.
Definition at line 25 of file NetInterface.cpp.
Definition at line 155 of file NetInterface.cpp.
Definition at line 206 of file NetInterface.cpp.
Definition at line 69 of file NetInterface.cpp.
std::string castor::net::NetInterface::getName | ( | ) | const |
Definition at line 17 of file NetInterface.cpp.
bool castor::net::NetInterface::matches | ( | const NetAddress & | address | ) |
Definition at line 54 of file NetInterface.cpp.
std::string castor::net::NetInterface::str | ( | ) | const |
Definition at line 211 of file NetInterface.cpp.
bool operator< | ( | const NetInterface & | one, |
const NetInterface & | other | ||
) | [friend] |
Definition at line 226 of file NetInterface.cpp.
NetAddressPtrSet castor::net::NetInterface::addresses [protected] |
Definition at line 24 of file NetInterface.h.
Definition at line 25 of file NetInterface.h.
std::string castor::net::NetInterface::name [protected] |
Definition at line 23 of file NetInterface.h.