IBR-DTNSuite  0.10
ibrcommon::LinkEvent Class Reference

#include <LinkEvent.h>

Collaboration diagram for ibrcommon::LinkEvent:
Collaboration graph

Public Types

enum  Action {
  ACTION_UNKOWN, ACTION_LINK_RUNNING, ACTION_LINK_UP, ACTION_LINK_DOWN,
  ACTION_ADDRESS_REMOVED, ACTION_ADDRESS_ADDED
}
 

Public Member Functions

 LinkEvent (Action action, const vinterface &iface, const vaddress &addr)
 
virtual ~LinkEvent ()
 
virtual const vinterfacegetInterface () const
 
virtual const vaddressgetAddress () const
 
virtual Action getAction () const
 
virtual std::string toString () const
 

Detailed Description

Definition at line 16 of file LinkEvent.h.

Member Enumeration Documentation

Enumerator
ACTION_UNKOWN 
ACTION_LINK_RUNNING 
ACTION_LINK_UP 
ACTION_LINK_DOWN 
ACTION_ADDRESS_REMOVED 
ACTION_ADDRESS_ADDED 

Definition at line 19 of file LinkEvent.h.

Constructor & Destructor Documentation

ibrcommon::LinkEvent::LinkEvent ( Action  action,
const vinterface iface,
const vaddress addr 
)

Definition at line 13 of file LinkEvent.cpp.

ibrcommon::LinkEvent::~LinkEvent ( )
virtual

Definition at line 17 of file LinkEvent.cpp.

Member Function Documentation

LinkEvent::Action ibrcommon::LinkEvent::getAction ( ) const
virtual
const vaddress & ibrcommon::LinkEvent::getAddress ( ) const
virtual
std::string ibrcommon::LinkEvent::toString ( ) const
virtual

Definition at line 35 of file LinkEvent.cpp.

References ibrcommon::vinterface::toString(), and ibrcommon::vaddress::toString().

Referenced by ibrcommon::LinkManager::raiseEvent().

Here is the call graph for this function:


The documentation for this class was generated from the following files: