#include <AdminRegistration.h>
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. |
dtn::AdminRegistration::AdminRegistration | ( | ) |
Definition at line 29 of file AdminRegistration.cc.
References oasys::Logger::logpathf(), and dtn::Registration::set_active().
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_.