IBR-DTNSuite
0.12
|
#include <BundleTransfer.h>
Public Member Functions | |
BundleTransfer (const dtn::data::EID &neighbor, const dtn::data::MetaBundle &bundle) | |
virtual | ~BundleTransfer () |
const dtn::data::EID & | getNeighbor () const |
const dtn::data::MetaBundle & | getBundle () const |
void | abort (const TransferAbortedEvent::AbortReason reason) |
void | complete () |
Definition at line 37 of file BundleTransfer.h.
dtn::net::BundleTransfer::BundleTransfer | ( | const dtn::data::EID & | neighbor, |
const dtn::data::MetaBundle & | bundle | ||
) |
Definition at line 32 of file BundleTransfer.cpp.
|
virtual |
Definition at line 37 of file BundleTransfer.cpp.
void dtn::net::BundleTransfer::abort | ( | const TransferAbortedEvent::AbortReason | reason) |
Mark this transmission as aborted
Definition at line 80 of file BundleTransfer.cpp.
Referenced by dtn::net::TCPConnection::eventBundleRefused(), dtn::net::UDPConvergenceLayer::queue(), dtn::net::HTTPConvergenceLayer::queue(), and dtn::net::ConnectionManager::queue().
void dtn::net::BundleTransfer::complete | ( | ) |
Mark this transmission as complete
Definition at line 85 of file BundleTransfer.cpp.
Referenced by dtn::net::TCPConnection::eventBundleForwarded(), dtn::net::UDPConvergenceLayer::queue(), dtn::net::HTTPConvergenceLayer::queue(), and dtn::net::LOWPANConnectionSender::run().
const dtn::data::MetaBundle & dtn::net::BundleTransfer::getBundle | ( | ) | const |
Definition at line 64 of file BundleTransfer.cpp.
Referenced by dtn::net::TCPConnection::clearQueue(), dtn::net::UDPConvergenceLayer::queue(), dtn::net::HTTPConvergenceLayer::queue(), dtn::net::DatagramConnection::queue(), dtn::net::EMailConvergenceLayer::queue(), dtn::net::LOWPANConnectionSender::run(), and dtn::net::EMailSmtpService::run().
const dtn::data::EID & dtn::net::BundleTransfer::getNeighbor | ( | ) | const |
Definition at line 59 of file BundleTransfer.cpp.
Referenced by dtn::net::DatagramConnection::queue(), and dtn::net::ConnectionManager::queue().