IBR-DTNSuite  0.12
dtn::net::ConvergenceLayer Class Referenceabstract

#include <ConvergenceLayer.h>

Inheritance diagram for dtn::net::ConvergenceLayer:
Inheritance graph
Collaboration diagram for dtn::net::ConvergenceLayer:
Collaboration graph

Public Types

typedef std::pair< string, string > stats_pair
 
typedef std::map< string, string > stats_data
 

Public Member Functions

virtual ~ConvergenceLayer ()=0
 
virtual dtn::core::Node::Protocol getDiscoveryProtocol () const =0
 
virtual void queue (const dtn::core::Node &n, const dtn::net::BundleTransfer &job)=0
 
virtual void open (const dtn::core::Node &)
 
virtual void resetStats ()
 
virtual void getStats (ConvergenceLayer::stats_data &data) const
 

Detailed Description

Ist für die Zustellung von Bundles verantwortlich.

Definition at line 50 of file ConvergenceLayer.h.

Member Typedef Documentation

typedef std::map<string, string> dtn::net::ConvergenceLayer::stats_data

Definition at line 72 of file ConvergenceLayer.h.

typedef std::pair<string, string> dtn::net::ConvergenceLayer::stats_pair

statistic methods

Definition at line 66 of file ConvergenceLayer.h.

Constructor & Destructor Documentation

dtn::net::ConvergenceLayer::~ConvergenceLayer ( )
pure virtual

destructor

Definition at line 29 of file ConvergenceLayer.cpp.

Member Function Documentation

void dtn::net::ConvergenceLayer::getStats ( ConvergenceLayer::stats_data data) const
virtual
virtual void dtn::net::ConvergenceLayer::open ( const dtn::core::Node )
inlinevirtual

This method opens a connection proactive.

Parameters
n

Reimplemented in dtn::net::TCPConvergenceLayer, and dtn::net::FileConvergenceLayer.

Definition at line 66 of file ConvergenceLayer.h.

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

void dtn::net::ConvergenceLayer::resetStats ( )
virtual

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