IBR-DTNSuite  0.8
dtn::net::TransferAbortedEvent Class Reference

#include <TransferAbortedEvent.h>

Inheritance diagram for dtn::net::TransferAbortedEvent:
Collaboration diagram for dtn::net::TransferAbortedEvent:

List of all members.

Public Types

enum  AbortReason {
  REASON_UNDEFINED = 0, REASON_CONNECTION_DOWN = 1, REASON_REFUSED = 2, REASON_RETRY_LIMIT_REACHED = 3,
  REASON_BUNDLE_DELETED = 4
}

Public Member Functions

virtual ~TransferAbortedEvent ()
const std::string getName () const
string toString () const
const dtn::data::EIDgetPeer () const
const dtn::data::BundleIDgetBundleID () const

Static Public Member Functions

static void raise (const dtn::data::EID &peer, const dtn::data::Bundle &bundle, const AbortReason reason=REASON_UNDEFINED)
static void raise (const dtn::data::EID &peer, const dtn::data::BundleID &id, const AbortReason reason=REASON_UNDEFINED)

Public Attributes

const AbortReason reason

Static Public Attributes

static const std::string className = "TransferAbortedEvent"

Detailed Description

Definition at line 20 of file TransferAbortedEvent.h.


Member Enumeration Documentation

Enumerator:
REASON_UNDEFINED 
REASON_CONNECTION_DOWN 
REASON_REFUSED 
REASON_RETRY_LIMIT_REACHED 
REASON_BUNDLE_DELETED 

Definition at line 23 of file TransferAbortedEvent.h.


Constructor & Destructor Documentation


Member Function Documentation

const std::string dtn::net::TransferAbortedEvent::getName ( ) const [virtual]

Implements dtn::core::Event.

Definition at line 41 of file TransferAbortedEvent.cpp.

References className.

void dtn::net::TransferAbortedEvent::raise ( const dtn::data::EID peer,
const dtn::data::BundleID id,
const AbortReason  reason = REASON_UNDEFINED 
) [static]

Definition at line 35 of file TransferAbortedEvent.cpp.

References dtn::core::Event::raiseEvent().

Here is the call graph for this function:

string dtn::net::TransferAbortedEvent::toString ( ) const [virtual]

Implements dtn::core::Event.

Definition at line 79 of file TransferAbortedEvent.cpp.

References className, dtn::data::EID::getString(), and dtn::data::BundleID::toString().

Here is the call graph for this function:


Member Data Documentation


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