IBR-DTNSuite
0.8
|
#include <NetLinkManager.h>
Public Member Functions | |
NetLinkManagerEvent (int fd) | |
virtual | ~NetLinkManagerEvent () |
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 26 of file NetLinkManager.h.
read a netlink message from the socket and create a new netlink event object
Definition at line 235 of file NetLinkManager.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::NetLinkManagerEvent::~NetLinkManagerEvent | ( | ) | [virtual] |
Definition at line 390 of file NetLinkManager.cpp.
void ibrcommon::NetLinkManagerEvent::debug | ( | ) | const |
Definition at line 445 of file NetLinkManager.cpp.
const ibrcommon::vaddress & ibrcommon::NetLinkManagerEvent::getAddress | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 399 of file NetLinkManager.cpp.
Referenced by toString().
const ibrcommon::vinterface & ibrcommon::NetLinkManagerEvent::getInterface | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 394 of file NetLinkManager.cpp.
Referenced by toString().
unsigned int ibrcommon::NetLinkManagerEvent::getState | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 404 of file NetLinkManager.cpp.
Referenced by toString().
LinkManagerEvent::EventType ibrcommon::NetLinkManagerEvent::getType | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 414 of file NetLinkManager.cpp.
Referenced by ibrcommon::NetLinkManager::run(), and toString().
bool ibrcommon::NetLinkManagerEvent::isWirelessExtension | ( | ) | const [virtual] |
Definition at line 409 of file NetLinkManager.cpp.
Referenced by ibrcommon::NetLinkManager::run().
const std::string ibrcommon::NetLinkManagerEvent::toString | ( | ) | const |
Definition at line 419 of file NetLinkManager.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::NetLinkManager::run().