IBR-DTNSuite  0.8
dtn::routing::NodeHandshakeEvent Class Reference

#include <NodeHandshakeEvent.h>

Inheritance diagram for dtn::routing::NodeHandshakeEvent:
Collaboration diagram for dtn::routing::NodeHandshakeEvent:

List of all members.

Public Types

enum  HANDSHAKE_STATE { HANDSHAKE_REPLIED = 1, HANDSHAKE_COMPLETED = 2, HANDSHAKE_UPDATED = 3 }

Public Member Functions

virtual ~NodeHandshakeEvent ()
const std::string getName () const
std::string toString () const

Static Public Member Functions

static void raiseEvent (HANDSHAKE_STATE state, const dtn::data::EID &peer)

Public Attributes

HANDSHAKE_STATE state
dtn::data::EID peer

Static Public Attributes

static const string className = "NodeHandshakeEvent"

Detailed Description

Definition at line 18 of file NodeHandshakeEvent.h.


Member Enumeration Documentation

Enumerator:
HANDSHAKE_REPLIED 
HANDSHAKE_COMPLETED 
HANDSHAKE_UPDATED 

Definition at line 21 of file NodeHandshakeEvent.h.


Constructor & Destructor Documentation


Member Function Documentation

const std::string dtn::routing::NodeHandshakeEvent::getName ( ) const [virtual]

Implements dtn::core::Event.

Definition at line 23 of file NodeHandshakeEvent.cpp.

References className.

Referenced by toString().

std::string dtn::routing::NodeHandshakeEvent::toString ( ) const [virtual]

Implements dtn::core::Event.

Definition at line 28 of file NodeHandshakeEvent.cpp.

References getName(), dtn::data::EID::getString(), HANDSHAKE_COMPLETED, HANDSHAKE_REPLIED, HANDSHAKE_UPDATED, peer, and state.

Here is the call graph for this function:


Member Data Documentation


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