dtn::DTLSR::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::DTLSR::LinkParams::LinkParams (  )  [inline]

Definition at line 45 of file DTLSR.h.

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

Definition at line 48 of file DTLSR.h.

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

Definition at line 49 of file DTLSR.h.


Member Function Documentation

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


Member Data Documentation

u_int32_t dtn::DTLSR::DTLSR::LinkParams::bw_

estimated link bandwidth

Definition at line 62 of file DTLSR.h.

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

u_int32_t dtn::DTLSR::DTLSR::LinkParams::cost_

configured link cost

Definition at line 60 of file DTLSR.h.

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

u_int32_t dtn::DTLSR::DTLSR::LinkParams::delay_

estimated link delay

Definition at line 61 of file DTLSR.h.

Referenced by dtn::DTLSR::DTLSR::LinkParams::serialize().

u_int32_t dtn::DTLSR::DTLSR::LinkParams::qcount_

number of bundles in queue

Definition at line 63 of file DTLSR.h.

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

u_int32_t dtn::DTLSR::DTLSR::LinkParams::qsize_

total size of bundles in queue

Definition at line 64 of file DTLSR.h.

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

u_int8_t dtn::DTLSR::DTLSR::LinkParams::state_

LINK_UP or LINK_DOWN.

Definition at line 59 of file DTLSR.h.

Referenced by dtn::DTLSR::DTLSR::LinkParams::serialize().


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

Generated on Fri Jan 30 09:27:04 2009 for DTN Reference Implementation by  doxygen 1.5.8