#include <BundleEvent.h>
Public Member Functions | |
BundleAcceptRequest (const BundleRef &bundle, event_source_t source, bool *result, int *reason) | |
Public Attributes | |
BundleRef | bundle_ |
The newly arrived bundle. | |
int | source_ |
The source of the event. | |
bool * | result_ |
Pointer to the expected result. | |
int * | reason_ |
Pointer to the reason code. |
Currently used for backpressure via the API.
Note that the bundle may not be completely constructed when this event is posted. In particular, the payload need not be filled in yet, and other security fields may not be present. At a minimum though, the fields from the primary block and the payload length must be known.
Definition at line 1037 of file BundleEvent.h.
dtn::BundleAcceptRequest::BundleAcceptRequest | ( | const BundleRef & | bundle, | |
event_source_t | source, | |||
bool * | result, | |||
int * | reason | |||
) | [inline] |
Definition at line 1039 of file BundleEvent.h.
The newly arrived bundle.
Definition at line 1052 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_accept().
Pointer to the reason code.
Definition at line 1061 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_accept().
Pointer to the expected result.
Definition at line 1058 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_accept().