#include <storeprofile/BundleCollector.h>


Public Member Functions | |
| BundleCollector (std::ostream &s) | |
| Constructor. | |
| virtual | ~BundleCollector () |
| Virtual destructor. | |
| void | operator() (const WrapNode &wn) const |
| Functional method. | |
Definition at line 46 of file BundleCollector.h.
| BundleCollector::BundleCollector | ( | std::ostream & | s | ) |
Constructor.
| s | The stream on which to write output |
Definition at line 39 of file BundleCollector.cc.
| void BundleCollector::operator() | ( | const WrapNode & | wn | ) | const [virtual] |
Functional method.
Note that this should never touch data not directly owned by the WrapNode or its internal DTN::Node. Since this method might be called while the simulator is exiting, any other object might cease to exist.
| wn | A WrapNode on which to act |
Implements NodeCollector.
Definition at line 49 of file BundleCollector.cc.
References Stat::add(), WrapNode::addrString(), WrapNode::cachedPersistent(), WrapNode::cachedVolatile(), DTN::BundlePointer::isNull(), DTN::Bundle::kACK, Stat::n(), DTN::BundlePointer::next(), DTN::BundlePointer::repr(), Stat::s(), DTN::Bundle::size(), and DTN::Bundle::type().
1.5.4