dtn::DTLSR::LinkParams Class Reference

Link parameters that are sent over the network. More...

#include <DTLSR.h>

List of all members.

Public Types

enum  { LINK_UP = 0x1, LINK_DOWN = 0x2 }
 

states

More...

Public Member Functions

 LinkParams ()
 LinkParams (const oasys::Builder &)
virtual ~LinkParams ()
virtual void serialize (oasys::SerializeAction *a)

Public Attributes

u_int8_t state_
 LINK_UP or LINK_DOWN.
u_int32_t cost_
 configured link cost
u_int32_t delay_
 estimated link delay
u_int32_t bw_
 estimated link bandwidth
u_int32_t qcount_
 number of bundles in queue
u_int32_t qsize_
 total size of bundles in queue

Detailed Description

Link parameters that are sent over the network.

Definition at line 43 of file DTLSR.h.


Member Enumeration Documentation

anonymous enum

states

Enumerator:
LINK_UP 
LINK_DOWN 

Definition at line 54 of file DTLSR.h.


Constructor & Destructor Documentation

dtn::DTLSR::LinkParams::LinkParams (  )  [inline]

Definition at line 45 of file DTLSR.h.

dtn::DTLSR::LinkParams::LinkParams ( const oasys::Builder &   )  [inline]

Definition at line 48 of file DTLSR.h.

virtual dtn::DTLSR::LinkParams::~LinkParams (  )  [inline, virtual]

Definition at line 49 of file DTLSR.h.


Member Function Documentation

void dtn::DTLSR::LinkParams::serialize ( oasys::SerializeAction *  a  )  [virtual]

Definition at line 31 of file DTLSR.cc.

References bw_, cost_, delay_, qcount_, qsize_, and state_.


Member Data Documentation

estimated link bandwidth

Definition at line 62 of file DTLSR.h.

Referenced by dtn::DTLSRRouter::handle_registration_added(), and serialize().

configured link cost

Definition at line 60 of file DTLSR.h.

Referenced by dtn::DTLSRRouter::handle_contact_up(), and serialize().

estimated link delay

Definition at line 61 of file DTLSR.h.

Referenced by serialize().

number of bundles in queue

Definition at line 63 of file DTLSR.h.

Referenced by dtn::DTLSRRouter::generate_link_state(), and serialize().

total size of bundles in queue

Definition at line 64 of file DTLSR.h.

Referenced by dtn::DTLSRRouter::generate_link_state(), and serialize().

LINK_UP or LINK_DOWN.

Definition at line 59 of file DTLSR.h.

Referenced by serialize().


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