#include <ProphetBundle.h>
Public Member Functions | |
ProphetBundle (const BundleRef &bundle) | |
Constructor. | |
ProphetBundle (const ProphetBundle &other) | |
Constructor. | |
virtual | ~ProphetBundle () |
Destructor. | |
ProphetBundle & | operator= (const ProphetBundle &other) |
Assignment operator. | |
const BundleRef & | ref () const |
Return const ref to BundleRef member. | |
virtual const std::string & | destination_id () const |
Virtual from prophet::Bundle. | |
virtual const std::string & | source_id () const |
Virtual from prophet::Bundle. | |
virtual u_int32_t | creation_ts () const |
Virtual from prophet::Bundle. | |
virtual u_int32_t | sequence_num () const |
Virtual from prophet::Bundle. | |
virtual u_int32_t | expiration_ts () const |
Virtual from prophet::Bundle. | |
virtual u_int | size () const |
Virtual from prophet::Bundle. | |
virtual u_int | num_forward () const |
Virtual from prophet::Bundle. | |
virtual bool | custody_requested () const |
Virtual from prophet::Bundle. | |
Protected Attributes | |
BundleRef | ref_ |
DTN bundle object. | |
std::string | str_ |
return value for NULL condition |
Definition at line 30 of file ProphetBundle.h.
dtn::ProphetBundle::ProphetBundle | ( | const BundleRef & | bundle | ) | [inline] |
dtn::ProphetBundle::ProphetBundle | ( | const ProphetBundle & | other | ) | [inline] |
virtual dtn::ProphetBundle::~ProphetBundle | ( | ) | [inline, virtual] |
virtual u_int32_t dtn::ProphetBundle::creation_ts | ( | ) | const [inline, virtual] |
Virtual from prophet::Bundle.
Implements prophet::Bundle.
Definition at line 79 of file ProphetBundle.h.
virtual bool dtn::ProphetBundle::custody_requested | ( | ) | const [inline, virtual] |
Virtual from prophet::Bundle.
Implements prophet::Bundle.
Definition at line 101 of file ProphetBundle.h.
virtual const std::string& dtn::ProphetBundle::destination_id | ( | ) | const [inline, virtual] |
Virtual from prophet::Bundle.
Implements prophet::Bundle.
Definition at line 71 of file ProphetBundle.h.
virtual u_int32_t dtn::ProphetBundle::expiration_ts | ( | ) | const [inline, virtual] |
Virtual from prophet::Bundle.
Implements prophet::Bundle.
Definition at line 87 of file ProphetBundle.h.
virtual u_int dtn::ProphetBundle::num_forward | ( | ) | const [inline, virtual] |
Virtual from prophet::Bundle.
Implements prophet::Bundle.
Definition at line 95 of file ProphetBundle.h.
References dtn::ForwardingInfo::COPY_ACTION, ref(), ref_, and dtn::ForwardingInfo::TRANSMITTED.
ProphetBundle& dtn::ProphetBundle::operator= | ( | const ProphetBundle & | other | ) | [inline] |
const BundleRef& dtn::ProphetBundle::ref | ( | ) | const [inline] |
Return const ref to BundleRef member.
Definition at line 68 of file ProphetBundle.h.
References ref_.
Referenced by creation_ts(), custody_requested(), destination_id(), expiration_ts(), num_forward(), sequence_num(), size(), and source_id().
virtual u_int32_t dtn::ProphetBundle::sequence_num | ( | ) | const [inline, virtual] |
Virtual from prophet::Bundle.
Implements prophet::Bundle.
Definition at line 83 of file ProphetBundle.h.
virtual u_int dtn::ProphetBundle::size | ( | ) | const [inline, virtual] |
Virtual from prophet::Bundle.
Implements prophet::Bundle.
Definition at line 91 of file ProphetBundle.h.
virtual const std::string& dtn::ProphetBundle::source_id | ( | ) | const [inline, virtual] |
Virtual from prophet::Bundle.
Implements prophet::Bundle.
Definition at line 75 of file ProphetBundle.h.
BundleRef dtn::ProphetBundle::ref_ [protected] |
DTN bundle object.
Definition at line 109 of file ProphetBundle.h.
Referenced by creation_ts(), custody_requested(), destination_id(), expiration_ts(), num_forward(), operator=(), ProphetBundle(), ref(), sequence_num(), size(), source_id(), and ~ProphetBundle().
std::string dtn::ProphetBundle::str_ [protected] |
return value for NULL condition
Definition at line 110 of file ProphetBundle.h.
Referenced by destination_id(), and source_id().