#include <SimRegistration.h>
Inheritance diagram for dtnsim::SimRegistration:

Definition at line 53 of file SimRegistration.h.
Public Member Functions | |
| SimRegistration (Node *node, const EndpointID &endpoint) | |
| void | deliver_bundle (Bundle *bundle) |
| Deliver the given bundle. | |
Public Attributes | |
| std::map< double, Bundle * > | arrivals_ |
| Log each bundle's arrival time (and the bundle itself) in a big arrivals table. | |
Protected Attributes | |
| Node * | node_ |
| dtnsim::SimRegistration::SimRegistration | ( | Node * | node, | |
| const EndpointID & | endpoint | |||
| ) |
Definition at line 52 of file SimRegistration.cc.
References log_debug, oasys::Logger::logpathf(), dtnsim::Node::name(), and dtn::Registration::regid_.
| void dtnsim::SimRegistration::deliver_bundle | ( | Bundle * | bundle | ) | [virtual] |
Deliver the given bundle.
Implements dtn::Registration.
Definition at line 61 of file SimRegistration.cc.
References arrivals_, dtn::Bundle::bundleid_, dtn::EndpointID::c_str(), dtn::Bundle::dest_, dtn::BundlePayload::length(), log_info, dtnsim::Node::name(), node_, dtn::Bundle::payload_, dtn::Bundle::source_, and dtnsim::Simulator::time().
| std::map<double, Bundle*> dtnsim::SimRegistration::arrivals_ |
Log each bundle's arrival time (and the bundle itself) in a big arrivals table.
Definition at line 66 of file SimRegistration.h.
Referenced by deliver_bundle().
Node* dtnsim::SimRegistration::node_ [protected] |
1.5.1