prophet::ResponseTLV Class Reference

#include <ResponseTLV.h>

Inheritance diagram for prophet::ResponseTLV:

prophet::BundleTLV prophet::BaseTLV

List of all members.


Detailed Description

Definition at line 27 of file ResponseTLV.h.


Public Member Functions

 ResponseTLV (const BundleResponseList &list)
 Constructor.
virtual ~ResponseTLV ()
 Destructor.
size_t serialize (u_char *bp, size_t len) const
 Virtual from BaseTLV.
const BundleResponseListlist () const
 Accessors.

Protected Member Functions

 ResponseTLV ()
 Constructor.
bool deserialize (const u_char *bp, size_t len)
 Virtual from BaseTLV.

Protected Attributes

BundleResponseList list_
 Priority sorted list of Bundles to request from peer.

Friends

class TLVFactory< ResponseTLV >

Constructor & Destructor Documentation

prophet::ResponseTLV::ResponseTLV ( const BundleResponseList list  ) 

Constructor.

Definition at line 26 of file ResponseTLV.cc.

virtual prophet::ResponseTLV::~ResponseTLV (  )  [inline, virtual]

Destructor.

Definition at line 38 of file ResponseTLV.h.

prophet::ResponseTLV::ResponseTLV (  )  [protected]

Constructor.

Protected to force access through TLVFactory.

Definition at line 23 of file ResponseTLV.cc.


Member Function Documentation

size_t prophet::ResponseTLV::serialize ( u_char *  bp,
size_t  len 
) const [virtual]

const BundleResponseList& prophet::ResponseTLV::list (  )  const [inline]

Accessors.

Definition at line 46 of file ResponseTLV.h.

References list_.

bool prophet::ResponseTLV::deserialize ( const u_char *  bp,
size_t  len 
) [protected, virtual]


Friends And Related Function Documentation

friend class TLVFactory< ResponseTLV > [friend]

Definition at line 50 of file ResponseTLV.h.


Member Data Documentation

Priority sorted list of Bundles to request from peer.

Definition at line 62 of file ResponseTLV.h.

Referenced by deserialize(), list(), and serialize().


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

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