dtn::CustodySignal Class Reference

Utility class to format and parse custody signal bundles. More...

#include <CustodySignal.h>

List of all members.

Classes

struct  data_t
 Struct to hold the payload data of the custody signal. More...

Public Types

typedef
BundleProtocol::custody_signal_reason_t 
reason_t
 The reason codes are defined in the bundle protocol class.

Static Public Member Functions

static void create_custody_signal (Bundle *bundle, const Bundle *orig_bundle, const EndpointID &source_eid, bool succeeded, reason_t reason)
 Constructor-like function to create a new custody signal bundle.
static bool parse_custody_signal (data_t *data, const u_char *bp, u_int len)
 Parsing function for custody signal bundles.
static const char * reason_to_str (u_int8_t reason)
 Pretty printer for custody signal reasons.


Detailed Description

Utility class to format and parse custody signal bundles.

Definition at line 28 of file CustodySignal.h.


Member Typedef Documentation

The reason codes are defined in the bundle protocol class.

Definition at line 33 of file CustodySignal.h.


Member Function Documentation

void dtn::CustodySignal::create_custody_signal ( Bundle bundle,
const Bundle orig_bundle,
const EndpointID source_eid,
bool  succeeded,
reason_t  reason 
) [static]

bool dtn::CustodySignal::parse_custody_signal ( data_t data,
const u_char *  bp,
u_int  len 
) [static]

const char * dtn::CustodySignal::reason_to_str ( u_int8_t  reason  )  [static]


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

Generated on Fri Jan 30 09:27:03 2009 for DTN Reference Implementation by  doxygen 1.5.8