dtn::BundleAcceptRequest Class Reference

#include <BundleEvent.h>

Inheritance diagram for dtn::BundleAcceptRequest:

dtn::BundleEvent

List of all members.


Detailed Description

Event class to optionally probe if a bundle can be accepted by the system before a BundleReceivedEvent is posted.

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.


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.
boolresult_
 Pointer to the expected result.
int * reason_
 Pointer to the reason code.

Constructor & Destructor Documentation

dtn::BundleAcceptRequest::BundleAcceptRequest ( const BundleRef bundle,
event_source_t  source,
bool result,
int *  reason 
) [inline]

Definition at line 1039 of file BundleEvent.h.


Member Data Documentation

The newly arrived bundle.

Definition at line 1052 of file BundleEvent.h.

Referenced by dtn::BundleDaemon::handle_bundle_accept().

The source of the event.

Definition at line 1055 of file BundleEvent.h.

Pointer to the expected result.

Definition at line 1058 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().


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

Generated on Mon Jul 21 14:12:19 2008 for DTN Reference Implementation by  doxygen 1.5.6