IBR-DTNSuite  0.8
dtn::core::FragmentManager Class Reference

#include <FragmentManager.h>

Inheritance diagram for dtn::core::FragmentManager:
Collaboration diagram for dtn::core::FragmentManager:

List of all members.

Classes

class  Transmission

Public Member Functions

 FragmentManager ()
virtual ~FragmentManager ()
void signal (const dtn::data::MetaBundle &meta)
void __cancellation ()
void componentUp ()
void componentRun ()
void componentDown ()
void raiseEvent (const Event *evt)
const std::string getName () const

Static Public Member Functions

static void setOffset (const dtn::data::EID &peer, const dtn::data::BundleID &id, size_t abs_offset)
static size_t getOffset (const dtn::data::EID &peer, const dtn::data::BundleID &id)

Detailed Description

Definition at line 24 of file FragmentManager.h.


Constructor & Destructor Documentation

Definition at line 32 of file FragmentManager.cpp.


Member Function Documentation

Implements dtn::daemon::IndependentComponent.

Definition at line 41 of file FragmentManager.cpp.

References ibrcommon::Queue< T >::abort().

Here is the call graph for this function:

const std::string dtn::core::FragmentManager::getName ( ) const [virtual]

Return an identifier for this component

Returns:

Implements dtn::daemon::Component.

Definition at line 36 of file FragmentManager.cpp.

size_t dtn::core::FragmentManager::getOffset ( const dtn::data::EID peer,
const dtn::data::BundleID id 
) [static]

Get the offset of a transmission

Parameters:
peer
id
Returns:

Definition at line 222 of file FragmentManager.cpp.

Referenced by dtn::net::operator<<().

void dtn::core::FragmentManager::setOffset ( const dtn::data::EID peer,
const dtn::data::BundleID id,
size_t  abs_offset 
) [static]

Updates the offset of a transmission

Parameters:
peer
id
offset

Definition at line 200 of file FragmentManager.cpp.

References dtn::storage::BundleStorage::get(), dtn::utils::Clock::getExpireTime(), dtn::core::BundleCore::getInstance(), dtn::core::BundleCore::getStorage(), IBRCOMMON_LOGGER_DEBUG, and IBRCOMMON_LOGGER_ENDL.

Referenced by dtn::net::TCPConnection::clearQueue().

Here is the call graph for this function:


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