prophet::BundleResponseList Class Reference

In-memory representation of list of bundle response entries from a Bundle TLV sent by SEND_DR or REQUEST. More...

#include <BundleTLVEntryList.h>

Inheritance diagram for prophet::BundleResponseList:

prophet::BundleEntryList< BundleResponseEntry >

List of all members.

Public Member Functions

 BundleResponseList ()
 Constructor.
virtual ~BundleResponseList ()
 Destructor.
bool add_response (u_int32_t cts, u_int32_t seq, u_int16_t sid, bool custody, bool accept=true)
 Convenience wrapper around base class's add_entry.

Protected Member Functions

virtual bool push_back (BundleResponseEntry *b)
 Add entry to back of list.


Detailed Description

In-memory representation of list of bundle response entries from a Bundle TLV sent by SEND_DR or REQUEST.

Definition at line 281 of file BundleTLVEntryList.h.


Constructor & Destructor Documentation

prophet::BundleResponseList::BundleResponseList (  )  [inline]

Constructor.

Definition at line 287 of file BundleTLVEntryList.h.

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

Destructor.

Definition at line 293 of file BundleTLVEntryList.h.


Member Function Documentation

bool prophet::BundleResponseList::add_response ( u_int32_t  cts,
u_int32_t  seq,
u_int16_t  sid,
bool  custody,
bool  accept = true 
) [inline]

Convenience wrapper around base class's add_entry.

Definition at line 298 of file BundleTLVEntryList.h.

References prophet::BundleEntryList< BundleResponseEntry >::add_entry(), and prophet::BundleTLVEntry::RESPONSE.

Referenced by prophet::ResponseTLV::deserialize().

virtual bool prophet::BundleResponseList::push_back ( BundleResponseEntry bo  )  [inline, protected, virtual]


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

Generated on Fri Jan 30 09:43:16 2009 for DTN Reference Implementation by  doxygen 1.5.8