IBR-DTNSuite  0.12
dtn::routing::NodeHandshakeExtension Class Reference

#include <NodeHandshakeExtension.h>

Inheritance diagram for dtn::routing::NodeHandshakeExtension:
Inheritance graph
Collaboration diagram for dtn::routing::NodeHandshakeExtension:
Collaboration graph

Public Member Functions

 NodeHandshakeExtension ()
 
virtual ~NodeHandshakeExtension ()
 
void raiseEvent (const dtn::core::Event *evt) throw ()
 
void componentUp () throw ()
 
void componentDown () throw ()
 
void doHandshake (const dtn::data::EID &eid)
 
void requestHandshake (const dtn::data::EID &destination, NodeHandshake &request) const
 
void responseHandshake (const dtn::data::EID &source, const NodeHandshake &request, NodeHandshake &answer)
 
void processHandshake (const dtn::data::EID &source, NodeHandshake &answer)
 
- Public Member Functions inherited from dtn::routing::RoutingExtension
 RoutingExtension ()
 
virtual ~RoutingExtension ()=0
 
virtual void eventDataChanged (const dtn::data::EID &peer) throw ()
 
virtual void eventTransferCompleted (const dtn::data::EID &peer, const dtn::data::MetaBundle &meta) throw ()
 
virtual void eventBundleQueued (const dtn::data::EID &peer, const dtn::data::MetaBundle &meta) throw ()
 
void transferTo (const dtn::data::EID &destination, const dtn::data::MetaBundle &meta)
 
- Public Member Functions inherited from dtn::core::EventReceiver
virtual ~EventReceiver ()=0
 

Protected Member Functions

void processHandshake (const dtn::data::Bundle &bundle)
 
- Protected Member Functions inherited from dtn::routing::RoutingExtension
BaseRouteroperator* ()
 

Additional Inherited Members

- Public Types inherited from dtn::routing::RoutingExtension
enum  CALLBACK_ACTION { ROUTE_CALLBACK_FORWARDED = 0, ROUTE_CALLBACK_ABORTED = 1, ROUTE_CALLBACK_REJECTED = 2, ROUTE_CALLBACK_DELETED = 3 }
 

Detailed Description

Definition at line 37 of file NodeHandshakeExtension.h.

Constructor & Destructor Documentation

dtn::routing::NodeHandshakeExtension::NodeHandshakeExtension ( )

Definition at line 50 of file NodeHandshakeExtension.cpp.

dtn::routing::NodeHandshakeExtension::~NodeHandshakeExtension ( )
virtual

Definition at line 55 of file NodeHandshakeExtension.cpp.

Member Function Documentation

void dtn::routing::NodeHandshakeExtension::componentDown ( )
throw (
)
virtual

Implements dtn::routing::RoutingExtension.

Definition at line 192 of file NodeHandshakeExtension.cpp.

References dtn::core::EventDispatcher< E >::remove().

Referenced by dtn::routing::BaseRouter::extensionsDown().

Here is the call graph for this function:

void dtn::routing::NodeHandshakeExtension::componentUp ( )
throw (
)
virtual

Implements dtn::routing::RoutingExtension.

Definition at line 187 of file NodeHandshakeExtension.cpp.

References dtn::core::EventDispatcher< E >::add().

Referenced by dtn::routing::BaseRouter::extensionsUp().

Here is the call graph for this function:

void dtn::routing::NodeHandshakeExtension::doHandshake ( const dtn::data::EID eid)

Definition at line 182 of file NodeHandshakeExtension.cpp.

Referenced by dtn::routing::BaseRouter::doHandshake().

void dtn::routing::NodeHandshakeExtension::raiseEvent ( const dtn::core::Event evt)
throw (
)
virtual
void dtn::routing::NodeHandshakeExtension::requestHandshake ( const dtn::data::EID destination,
NodeHandshake request 
) const
virtual
void dtn::routing::NodeHandshakeExtension::responseHandshake ( const dtn::data::EID source,
const NodeHandshake request,
NodeHandshake answer 
)
virtual

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