dtn::AdminRegistration Class Reference

#include <AdminRegistration.h>

Inheritance diagram for dtn::AdminRegistration:

dtn::Registration oasys::SerializableObject oasys::Logger

List of all members.


Detailed Description

Internal registration that recieves all administrative bundles destined for the router itself (i.e.

status reports, custody acknowledgements, ping bundles, etc.)

Definition at line 29 of file AdminRegistration.h.


Public Member Functions

 AdminRegistration ()
void deliver_bundle (Bundle *bundle)
 Deliver the given bundle.

Constructor & Destructor Documentation

dtn::AdminRegistration::AdminRegistration (  ) 

Definition at line 29 of file AdminRegistration.cc.

References oasys::Logger::logpathf(), and dtn::Registration::set_active().


Member Function Documentation

void dtn::AdminRegistration::deliver_bundle ( Bundle bundle  )  [virtual]

Deliver the given bundle.

Implements dtn::Registration.

Definition at line 40 of file AdminRegistration.cc.

References dtn::BundleProtocol::ADMIN_ANNOUNCE, dtn::BundleProtocol::ADMIN_CUSTODY_SIGNAL, dtn::BundleProtocol::ADMIN_STATUS_REPORT, oasys::ScratchBuffer< _memory_t, _static_size >::buf(), dtn::EndpointID::c_str(), dtn::Bundle::is_admin_, dtn::BundlePayload::length(), log_debug, log_err, log_info, log_warn, dtn::CustodySignal::parse_custody_signal(), dtn::Bundle::payload_, payload_buf, dtn::BundleDaemon::post(), dtn::BundlePayload::read_data(), and dtn::Bundle::source_.


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:47 2007 for DTN Reference Implementation by  doxygen 1.5.3