dtn::IPConvergenceLayer Class Reference

Base class for shared functionality between the TCP and UDP convergence layers (currently none). More...

#include <IPConvergenceLayer.h>

Inheritance diagram for dtn::IPConvergenceLayer:
dtn::ConvergenceLayer dtn::UDPConvergenceLayer

List of all members.

Protected Member Functions

 IPConvergenceLayer (const char *classname, const char *name)
 Constructor.
bool parse_nexthop (const char *nexthop, in_addr_t *addr, u_int16_t *port)
 Parse a next hop address specification of the form <host>[:<port>?].

Detailed Description

Base class for shared functionality between the TCP and UDP convergence layers (currently none).

Definition at line 33 of file IPConvergenceLayer.h.


Constructor & Destructor Documentation

dtn::IPConvergenceLayer::IPConvergenceLayer ( const char *  classname,
const char *  name 
) [inline, protected]

Constructor.

Definition at line 38 of file IPConvergenceLayer.h.


Member Function Documentation

bool dtn::IPConvergenceLayer::parse_nexthop ( const char *  nexthop,
in_addr_t *  addr,
u_int16_t *  port 
) [protected]

Parse a next hop address specification of the form <host>[:<port>?].

Parse a next hop address specification of the form HOST[:PORT?].

Returns:
true if the conversion was successful, false

Definition at line 33 of file IPConvergenceLayer.cc.

Referenced by dtn::UDPConvergenceLayer::init_link(), and dtn::UDPConvergenceLayer::open_contact().


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 13:21:18 2010 for DTN Reference Implementation by  doxygen 1.6.3