#include <BundleTLVEntryList.h>
Definition at line 222 of file BundleTLVEntryList.h.
Public Member Functions | |
BundleOfferList () | |
Constructor. | |
virtual | ~BundleOfferList () |
Destructor. | |
bool | add_offer (const Bundle *b, u_int16_t sid) |
Convenience method to add Bundle to the list; return whether successful. | |
bool | add_offer (u_int32_t cts, u_int32_t seq, u_int16_t sid, bool custody, bool ack) |
Convenience wrapper around base class's add_entry. | |
Protected Member Functions | |
virtual bool | push_back (BundleOfferEntry *b) |
prophet::BundleOfferList::BundleOfferList | ( | ) | [inline] |
virtual prophet::BundleOfferList::~BundleOfferList | ( | ) | [inline, virtual] |
Convenience method to add Bundle to the list; return whether successful.
Definition at line 240 of file BundleTLVEntryList.h.
References prophet::Bundle::creation_ts(), prophet::Bundle::custody_requested(), and prophet::Bundle::sequence_num().
Referenced by prophet::OfferTLV::deserialize(), and prophet::BundleOffer::get_bundle_offer().
bool prophet::BundleOfferList::add_offer | ( | u_int32_t | cts, | |
u_int32_t | seq, | |||
u_int16_t | sid, | |||
bool | custody, | |||
bool | ack | |||
) | [inline] |
Convenience wrapper around base class's add_entry.
Definition at line 255 of file BundleTLVEntryList.h.
References prophet::BundleEntryList< BundleEntryType >::add_entry(), and prophet::BundleTLVEntry::OFFER.
virtual bool prophet::BundleOfferList::push_back | ( | BundleOfferEntry * | b | ) | [inline, protected, virtual] |