In-memory representation of list of bundle response entries from a Bundle TLV sent by SEND_DR or REQUEST. More...
#include <BundleTLVEntryList.h>
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. | |
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.
| 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.
| 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(), and prophet::TLVCreator::response().
| virtual bool prophet::BundleResponseList::push_back | ( | BundleResponseEntry * | bo | ) | [inline, protected, virtual] |
Add entry to back of list.
Implements prophet::BundleEntryList< BundleResponseEntry >.
Definition at line 308 of file BundleTLVEntryList.h.
References prophet::BundleTLVEntry::creation_ts(), prophet::BundleEntryList< BundleResponseEntry >::find(), prophet::BundleEntryList< BundleResponseEntry >::list_, prophet::BundleTLVEntry::seqno(), and prophet::BundleTLVEntry::sid().
1.6.3