IBR-DTNSuite
0.8
|
#include <NetLink3Manager.h>
Public Member Functions | |
NetLink3ManagerEvent (struct nl_msg *msg) | |
virtual | ~NetLink3ManagerEvent () |
virtual const ibrcommon::vinterface & | getInterface () const |
virtual const ibrcommon::vaddress & | getAddress () const |
virtual unsigned int | getState () const |
virtual EventType | getType () const |
virtual bool | isWirelessExtension () const |
void | debug () const |
const std::string | toString () const |
Definition at line 23 of file NetLink3Manager.h.
ibrcommon::NetLink3ManagerEvent::NetLink3ManagerEvent | ( | struct nl_msg * | msg | ) |
read a netlink message from the socket and create a new netlink event object
Definition at line 236 of file NetLink3Manager.cpp.
References ibrcommon::LinkManagerEvent::EVENT_ADDRESS_ADDED, ibrcommon::LinkManagerEvent::EVENT_ADDRESS_REMOVED, ibrcommon::LinkManagerEvent::EVENT_LINK_STATE, IBRCOMMON_LOGGER_DEBUG, IBRCOMMON_LOGGER_ENDL, and ibrcommon::vaddress::VADDRESS_INET.
ibrcommon::NetLink3ManagerEvent::~NetLink3ManagerEvent | ( | ) | [virtual] |
Definition at line 378 of file NetLink3Manager.cpp.
void ibrcommon::NetLink3ManagerEvent::debug | ( | ) | const |
Definition at line 433 of file NetLink3Manager.cpp.
const ibrcommon::vaddress & ibrcommon::NetLink3ManagerEvent::getAddress | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 387 of file NetLink3Manager.cpp.
Referenced by toString().
const ibrcommon::vinterface & ibrcommon::NetLink3ManagerEvent::getInterface | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 382 of file NetLink3Manager.cpp.
Referenced by toString().
unsigned int ibrcommon::NetLink3ManagerEvent::getState | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 392 of file NetLink3Manager.cpp.
Referenced by toString().
LinkManagerEvent::EventType ibrcommon::NetLink3ManagerEvent::getType | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 402 of file NetLink3Manager.cpp.
Referenced by ibrcommon::NetLink3Manager::callback(), and toString().
bool ibrcommon::NetLink3ManagerEvent::isWirelessExtension | ( | ) | const [virtual] |
Definition at line 397 of file NetLink3Manager.cpp.
Referenced by ibrcommon::NetLink3Manager::callback().
const std::string ibrcommon::NetLink3ManagerEvent::toString | ( | ) | const |
Definition at line 407 of file NetLink3Manager.cpp.
References ibrcommon::LinkManagerEvent::EVENT_ADDRESS_ADDED, ibrcommon::LinkManagerEvent::EVENT_ADDRESS_REMOVED, ibrcommon::LinkManagerEvent::EVENT_LINK_STATE, getAddress(), getInterface(), getState(), getType(), ibrcommon::vinterface::toString(), and ibrcommon::vaddress::toString().
Referenced by ibrcommon::NetLink3Manager::callback().