prophet::Ack Class Reference
A Prophet ACK signals successful delivery of a Bundle to its final destination within the Prophet region (whether actual bundle destination or gateway to non-Prophet region).
More...
#include <Ack.h>
List of all members.
Public Member Functions |
| Ack () |
| Default constructor.
|
| Ack (std::string endpoint_id, u_int32_t cts=0, u_int32_t seq=0, u_int32_t ets=0) |
| Constructor.
|
| Ack (const Ack &a) |
| Copy constructor.
|
bool | operator< (const Ack &a) const |
| Comparison operator for STL sort.
|
Ack & | operator= (const Ack &a) |
| Assignment operator.
|
|
|
std::string | dest_id () const |
| Accessors.
|
u_int32_t | cts () const |
| Accessors.
|
u_int32_t | seq () const |
| Accessors.
|
u_int32_t | ets () const |
| Accessors.
|
|
|
void | set_dest_id (const std::string &dest_id) |
| Mutators.
|
void | set_cts (u_int32_t cts) |
| Mutators.
|
void | set_seq (u_int32_t seq) |
| Mutators.
|
void | set_ets (u_int32_t ets) |
| Mutators.
|
Protected Attributes |
std::string | dest_id_ |
u_int32_t | cts_ |
u_int32_t | seq_ |
u_int32_t | ets_ |
Detailed Description
A Prophet ACK signals successful delivery of a Bundle to its final destination within the Prophet region (whether actual bundle destination or gateway to non-Prophet region).
Definition at line 31 of file Ack.h.
Constructor & Destructor Documentation
prophet::Ack::Ack |
( |
|
) |
[inline] |
Default constructor.
Definition at line 37 of file Ack.h.
prophet::Ack::Ack |
( |
std::string |
endpoint_id, |
|
|
u_int32_t |
cts = 0 , |
|
|
u_int32_t |
seq = 0 , |
|
|
u_int32_t |
ets = 0 | |
|
) |
| | [inline] |
Constructor.
Definition at line 43 of file Ack.h.
prophet::Ack::Ack |
( |
const Ack & |
a |
) |
[inline] |
Copy constructor.
Definition at line 53 of file Ack.h.
Member Function Documentation
u_int32_t prophet::Ack::cts |
( |
|
) |
const [inline] |
Accessors.
Definition at line 59 of file Ack.h.
References cts_.
std::string prophet::Ack::dest_id |
( |
|
) |
const [inline] |
u_int32_t prophet::Ack::ets |
( |
|
) |
const [inline] |
Accessors.
Definition at line 61 of file Ack.h.
References ets_.
bool prophet::Ack::operator< |
( |
const Ack & |
a |
) |
const [inline] |
Ack& prophet::Ack::operator= |
( |
const Ack & |
a |
) |
[inline] |
u_int32_t prophet::Ack::seq |
( |
|
) |
const [inline] |
Accessors.
Definition at line 60 of file Ack.h.
References seq_.
void prophet::Ack::set_cts |
( |
u_int32_t |
cts |
) |
[inline] |
Mutators.
Definition at line 69 of file Ack.h.
References cts_.
void prophet::Ack::set_dest_id |
( |
const std::string & |
dest_id |
) |
[inline] |
void prophet::Ack::set_ets |
( |
u_int32_t |
ets |
) |
[inline] |
Mutators.
Definition at line 71 of file Ack.h.
References ets_.
void prophet::Ack::set_seq |
( |
u_int32_t |
seq |
) |
[inline] |
Mutators.
Definition at line 70 of file Ack.h.
References seq_.
Member Data Documentation
The documentation for this class was generated from the following file: