#include <dtn/DropTail.h>


Public Member Functions | |
| DropTail (Node *owner) | |
| Constructor. | |
| virtual | ~DropTail () |
| Virtual destructor. | |
| BundlePointer | store (Bundle *b) |
| Attempt to place a Bundle in the BundleStore. | |
When the available space is filled, Bundles are rejected.
Definition at line 42 of file DropTail.h.
| BundlePointer DropTail::store | ( | Bundle * | b | ) | [virtual] |
Attempt to place a Bundle in the BundleStore.
| b | A pointer to an incoming Bundle |
NULL BundlePointer if b was dropped Implements DTN::VolatileStorePolicy.
Definition at line 48 of file DropTail.cc.
References DTN::BundleStore::addBundle(), DTN::NodePolicy::m_owner, DTN::NodePolicy::m_store, DTN::Bundle::size(), DTN::Node::usedVolatileCap(), and DTN::Node::volatileCap().
1.5.4