|
IBR-DTNSuite 0.6
|
#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 27 of file NetLinkManager.h.
| ibrcommon::NetLinkManagerEvent::NetLinkManagerEvent | ( | int | fd | ) |
read a netlink message from the socket and create a new netlink event object
Definition at line 216 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 345 of file NetLinkManager.cpp.
| void ibrcommon::NetLinkManagerEvent::debug | ( | ) | const |
Definition at line 400 of file NetLinkManager.cpp.
| const ibrcommon::vaddress & ibrcommon::NetLinkManagerEvent::getAddress | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 354 of file NetLinkManager.cpp.
Referenced by toString().
| const ibrcommon::vinterface & ibrcommon::NetLinkManagerEvent::getInterface | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 349 of file NetLinkManager.cpp.
Referenced by ibrcommon::NetLinkManager::run(), and toString().
| unsigned int ibrcommon::NetLinkManagerEvent::getState | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 359 of file NetLinkManager.cpp.
Referenced by toString().
| LinkManagerEvent::EventType ibrcommon::NetLinkManagerEvent::getType | ( | ) | const [virtual] |
Implements ibrcommon::LinkManagerEvent.
Definition at line 369 of file NetLinkManager.cpp.
Referenced by ibrcommon::NetLinkManager::run(), and toString().
| bool ibrcommon::NetLinkManagerEvent::isWirelessExtension | ( | ) | const [virtual] |
Definition at line 364 of file NetLinkManager.cpp.
Referenced by ibrcommon::NetLinkManager::run().
| const std::string ibrcommon::NetLinkManagerEvent::toString | ( | ) | const |
Definition at line 374 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::vaddress::toString(), and ibrcommon::vinterface::toString().
Referenced by ibrcommon::NetLinkManager::run().
