dtn::net::ConnectionEvent Class Reference

#include <ConnectionEvent.h>

Inheritance diagram for dtn::net::ConnectionEvent:

dtn::core::Event

List of all members.

Public Types

enum  State { CONNECTION_SETUP = 0, CONNECTION_UP = 1, CONNECTION_DOWN = 2, CONNECTION_TIMEOUT = 3 }

Public Member Functions

 ~ConnectionEvent ()
const string getName () const
std::string toString () const

Static Public Member Functions

static void raise (State, const dtn::core::Node &)

Public Attributes

const State state
const dtn::data::EID peer
const dtn::core::Node node

Static Public Attributes

static const string className = "ConnectionEvent"


Detailed Description

Definition at line 19 of file ConnectionEvent.h.


Member Enumeration Documentation

Enumerator:
CONNECTION_SETUP 
CONNECTION_UP 
CONNECTION_DOWN 
CONNECTION_TIMEOUT 

Definition at line 22 of file ConnectionEvent.h.


Constructor & Destructor Documentation

dtn::net::ConnectionEvent::~ConnectionEvent (  ) 

Definition at line 20 of file ConnectionEvent.cpp.


Member Function Documentation

const string dtn::net::ConnectionEvent::getName (  )  const [virtual]

Implements dtn::core::Event.

Definition at line 31 of file ConnectionEvent.cpp.

References className.

std::string dtn::net::ConnectionEvent::toString (  )  const [virtual]

void dtn::net::ConnectionEvent::raise ( State  s,
const dtn::core::Node n 
) [static]


Member Data Documentation

const string dtn::net::ConnectionEvent::className = "ConnectionEvent" [static]

Definition at line 40 of file ConnectionEvent.h.

Referenced by dtn::net::ConnectionManager::raiseEvent(), and toString().

Definition at line 41 of file ConnectionEvent.h.

Referenced by toString().

Definition at line 42 of file ConnectionEvent.h.

Referenced by dtn::net::ConnectionManager::raiseEvent().


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

Generated on Fri Jul 30 09:15:35 2010 for IBR-DTNSuite by  doxygen 1.5.6