#include <SimRegistration.h>
Public Member Functions | |
SimRegistration (Node *node, const EndpointID &endpoint) | |
void | deliver_bundle (Bundle *bundle) |
Deliver the given bundle. | |
Protected Attributes | |
Node * | node_ |
Definition at line 32 of file SimRegistration.h.
dtnsim::SimRegistration::SimRegistration | ( | Node * | node, | |
const EndpointID & | endpoint | |||
) |
Definition at line 37 of file SimRegistration.cc.
References 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 47 of file SimRegistration.cc.
References dtn::Bundle::bundleid(), dtn::EndpointID::c_str(), dtn::Bundle::dest(), dtn::BundlePayload::length(), dtnsim::Node::name(), node_, dtn::Bundle::payload(), and dtn::Bundle::source().
Node* dtnsim::SimRegistration::node_ [protected] |