dtn::DTLSR::LinkParams Class Reference

#include <DTLSR.h>

List of all members.


Detailed Description

Link parameters that are sent over the network.

Definition at line 43 of file DTLSR.h.


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

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

LINK_UP or LINK_DOWN.

Definition at line 59 of file DTLSR.h.

Referenced by 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().

estimated link bandwidth

Definition at line 62 of file DTLSR.h.

Referenced by dtn::DTLSRRouter::handle_registration_added(), and 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().


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

Generated on Mon Jul 21 14:12:21 2008 for DTN Reference Implementation by  doxygen 1.5.6