#include <BundleEvent.h>
Inheritance diagram for dtn::BundleAcceptRequest:
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 905 of file BundleEvent.h.
Public Member Functions | |
BundleAcceptRequest (const BundleRef &bundle, event_source_t source, bool *result, int *reason) | |
virtual void | serialize (oasys::SerializeAction *a) |
This should call v->process() on each of the types that are to be serialized in the object. | |
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. |
dtn::BundleAcceptRequest::BundleAcceptRequest | ( | const BundleRef & | bundle, | |
event_source_t | source, | |||
bool * | result, | |||
int * | reason | |||
) | [inline] |
Definition at line 907 of file BundleEvent.h.
void dtn::BundleAcceptRequest::serialize | ( | oasys::SerializeAction * | a | ) | [virtual] |
This should call v->process() on each of the types that are to be serialized in the object.
Reimplemented from dtn::BundleEvent.
Definition at line 123 of file BundleEvent.cc.
References bundle_, oasys::Ref< _Type >::object(), oasys::SerializeAction::process(), and source_.
The newly arrived bundle.
Definition at line 923 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_accept(), and serialize().
Pointer to the expected result.
Definition at line 929 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_accept().
Pointer to the reason code.
Definition at line 932 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_bundle_accept().