#include <BundleEventHandler.h>
This class provides that abstraction plus a useful dispatching function for event-specific handlers.
Definition at line 32 of file BundleEventHandler.h.
Public Member Functions | |
virtual void | handle_event (BundleEvent *event)=0 |
Pure virtual event handler function. | |
Protected Member Functions | |
BundleEventHandler (const char *classname, const char *logpath) | |
Constructor -- protected since this class shouldn't ever be instantiated directly. | |
virtual | ~BundleEventHandler () |
Destructor -- Needs to be defined virtual to be sure that derived classes get a chance to clean up their stuff on removal. | |
void | dispatch_event (BundleEvent *event) |
Dispatch the event by type code to one of the event-specific handler functions below. | |
virtual void | handle_bundle_received (BundleReceivedEvent *event) |
Default event handler for new bundle arrivals. | |
virtual void | handle_bundle_transmitted (BundleTransmittedEvent *event) |
Default event handler when bundles are transmitted. | |
virtual void | handle_bundle_delivered (BundleDeliveredEvent *event) |
Default event handler when bundles are locally delivered. | |
virtual void | handle_bundle_expired (BundleExpiredEvent *event) |
Default event handler when bundles expire. | |
virtual void | handle_bundle_free (BundleFreeEvent *event) |
Default event handler when bundles are free (i.e. | |
virtual void | handle_bundle_send (BundleSendRequest *event) |
Default event handler for bundle send requests. | |
virtual void | handle_bundle_cancel (BundleCancelRequest *event) |
Default event handler for send bundle request cancellations. | |
virtual void | handle_bundle_cancelled (BundleSendCancelledEvent *) |
Default event handler for bundle cancellations. | |
virtual void | handle_bundle_inject (BundleInjectRequest *event) |
Default event handler for bundle inject requests. | |
virtual void | handle_bundle_injected (BundleInjectedEvent *event) |
Default event handler for bundle injected events. | |
virtual void | handle_bundle_delete (BundleDeleteRequest *request) |
Default event handler for bundle delete requests. | |
virtual void | handle_bundle_accept (BundleAcceptRequest *event) |
Default event handler for a bundle accept request probe. | |
virtual void | handle_bundle_query (BundleQueryRequest *request) |
Default event handler for bundle query requests. | |
virtual void | handle_bundle_report (BundleReportEvent *request) |
Default event handler for bundle reports. | |
virtual void | handle_bundle_attributes_query (BundleAttributesQueryRequest *) |
Default event handler for bundle attribute query requests. | |
virtual void | handle_bundle_attributes_report (BundleAttributesReportEvent *) |
Default event handler for bundle attribute reports. | |
virtual void | handle_registration_added (RegistrationAddedEvent *event) |
Default event handler when a new application registration arrives. | |
virtual void | handle_registration_removed (RegistrationRemovedEvent *event) |
Default event handler when a registration is removed. | |
virtual void | handle_registration_expired (RegistrationExpiredEvent *event) |
Default event handler when a registration expires. | |
virtual void | handle_registration_delete (RegistrationDeleteRequest *event) |
Default event handler when a registration is to be deleted. | |
virtual void | handle_contact_up (ContactUpEvent *event) |
Default event handler when a new contact is up. | |
virtual void | handle_contact_down (ContactDownEvent *event) |
Default event handler when a contact is down. | |
virtual void | handle_contact_query (ContactQueryRequest *request) |
Default event handler for contact query requests. | |
virtual void | handle_contact_report (ContactReportEvent *request) |
Default event handler for contact reports. | |
virtual void | handle_contact_attribute_changed (ContactAttributeChangedEvent *) |
Default event handler for contact attribute changes. | |
virtual void | handle_link_created (LinkCreatedEvent *event) |
Default event handler when a new link is created. | |
virtual void | handle_link_deleted (LinkDeletedEvent *event) |
Default event handler when a link is deleted. | |
virtual void | handle_link_available (LinkAvailableEvent *event) |
Default event handler when link becomes available. | |
virtual void | handle_link_unavailable (LinkUnavailableEvent *event) |
Default event handler when a link is unavailable. | |
virtual void | handle_link_state_change_request (LinkStateChangeRequest *req) |
Default event handler for link state change requests. | |
virtual void | handle_link_create (LinkCreateRequest *request) |
Default event handler for link create requests. | |
virtual void | handle_link_delete (LinkDeleteRequest *request) |
Default event handler for link delete requests. | |
virtual void | handle_link_reconfigure (LinkReconfigureRequest *request) |
Default event handler for link reconfigure requests. | |
virtual void | handle_link_query (LinkQueryRequest *request) |
Default event handler for link query requests. | |
virtual void | handle_link_report (LinkReportEvent *request) |
Default event handler for link reports. | |
virtual void | handle_link_attribute_changed (LinkAttributeChangedEvent *) |
Default event handler for link attribute changes. | |
virtual void | handle_reassembly_completed (ReassemblyCompletedEvent *event) |
Default event handler when reassembly is completed. | |
virtual void | handle_route_add (RouteAddEvent *event) |
Default event handler when a new route is added by the command or management interface. | |
virtual void | handle_route_del (RouteDelEvent *event) |
Default event handler when a route is deleted by the command or management interface. | |
virtual void | handle_route_query (RouteQueryRequest *request) |
Default event handler for static route query requests. | |
virtual void | handle_route_report (RouteReportEvent *request) |
Default event handler for static route reports. | |
virtual void | handle_custody_signal (CustodySignalEvent *event) |
Default event handler when custody signals are received. | |
virtual void | handle_custody_timeout (CustodyTimeoutEvent *event) |
Default event handler when custody transfer timers expire. | |
virtual void | handle_shutdown_request (ShutdownRequest *event) |
Default event handler for shutdown requests. | |
virtual void | handle_status_request (StatusRequest *event) |
Default event handler for status requests. | |
virtual void | handle_cla_set_params (CLASetParamsRequest *) |
Default event handler for CLA parameter set requests. | |
virtual void | handle_cla_params_set (CLAParamsSetEvent *) |
Default event handler for CLA parameters set events. | |
virtual void | handle_set_link_defaults (SetLinkDefaultsRequest *) |
Default event handler for set link defaults requests. | |
virtual void | handle_new_eid_reachable (NewEIDReachableEvent *) |
Default event handler for new EIDs discovered by CLA. | |
virtual void | handle_bundle_queued_query (BundleQueuedQueryRequest *) |
Default event handlers for queries to and reports from the CLA. | |
virtual void | handle_bundle_queued_report (BundleQueuedReportEvent *) |
virtual void | handle_eid_reachable_query (EIDReachableQueryRequest *) |
virtual void | handle_eid_reachable_report (EIDReachableReportEvent *) |
virtual void | handle_link_attributes_query (LinkAttributesQueryRequest *) |
virtual void | handle_link_attributes_report (LinkAttributesReportEvent *) |
virtual void | handle_iface_attributes_query (IfaceAttributesQueryRequest *) |
virtual void | handle_iface_attributes_report (IfaceAttributesReportEvent *) |
virtual void | handle_cla_parameters_query (CLAParametersQueryRequest *) |
virtual void | handle_cla_parameters_report (CLAParametersReportEvent *) |
dtn::BundleEventHandler::BundleEventHandler | ( | const char * | classname, | |
const char * | logpath | |||
) | [inline, protected] |
Constructor -- protected since this class shouldn't ever be instantiated directly.
Definition at line 44 of file BundleEventHandler.h.
virtual dtn::BundleEventHandler::~BundleEventHandler | ( | ) | [inline, protected, virtual] |
Destructor -- Needs to be defined virtual to be sure that derived classes get a chance to clean up their stuff on removal.
Definition at line 52 of file BundleEventHandler.h.
virtual void dtn::BundleEventHandler::handle_event | ( | BundleEvent * | event | ) | [pure virtual] |
Pure virtual event handler function.
Implemented in dtn::BundleDaemon, dtn::ContactManager, dtn::BundleRouter, dtn::ProphetRouter, and dtn::TableBasedRouter.
void dtn::BundleEventHandler::dispatch_event | ( | BundleEvent * | event | ) | [protected] |
Dispatch the event by type code to one of the event-specific handler functions below.
Definition at line 30 of file BundleEventHandler.cc.
References dtn::BUNDLE_ACCEPT_REQUEST, dtn::BUNDLE_ATTRIB_QUERY, dtn::BUNDLE_ATTRIB_REPORT, dtn::BUNDLE_CANCEL, dtn::BUNDLE_CANCELLED, dtn::BUNDLE_DELETE, dtn::BUNDLE_DELIVERED, dtn::BUNDLE_EXPIRED, dtn::BUNDLE_FREE, dtn::BUNDLE_INJECT, dtn::BUNDLE_INJECTED, dtn::BUNDLE_QUERY, dtn::BUNDLE_RECEIVED, dtn::BUNDLE_REPORT, dtn::BUNDLE_SEND, dtn::BUNDLE_TRANSMITTED, dtn::CLA_BUNDLE_QUEUED_QUERY, dtn::CLA_BUNDLE_QUEUED_REPORT, dtn::CLA_EID_REACHABLE, dtn::CLA_EID_REACHABLE_QUERY, dtn::CLA_EID_REACHABLE_REPORT, dtn::CLA_IFACE_ATTRIB_QUERY, dtn::CLA_IFACE_ATTRIB_REPORT, dtn::CLA_LINK_ATTRIB_QUERY, dtn::CLA_LINK_ATTRIB_REPORT, dtn::CLA_PARAMS_QUERY, dtn::CLA_PARAMS_REPORT, dtn::CLA_PARAMS_SET, dtn::CLA_SET_LINK_DEFAULTS, dtn::CLA_SET_PARAMS, dtn::CONTACT_ATTRIB_CHANGED, dtn::CONTACT_DOWN, dtn::CONTACT_QUERY, dtn::CONTACT_REPORT, dtn::CONTACT_UP, dtn::CUSTODY_SIGNAL, dtn::CUSTODY_TIMEOUT, dtn::DAEMON_SHUTDOWN, dtn::DAEMON_STATUS, handle_bundle_accept(), handle_bundle_attributes_query(), handle_bundle_attributes_report(), handle_bundle_cancel(), handle_bundle_cancelled(), handle_bundle_delete(), handle_bundle_delivered(), handle_bundle_expired(), handle_bundle_free(), handle_bundle_inject(), handle_bundle_injected(), handle_bundle_query(), handle_bundle_queued_query(), handle_bundle_queued_report(), handle_bundle_received(), handle_bundle_report(), handle_bundle_send(), handle_bundle_transmitted(), handle_cla_parameters_query(), handle_cla_parameters_report(), handle_cla_params_set(), handle_cla_set_params(), handle_contact_attribute_changed(), handle_contact_down(), handle_contact_query(), handle_contact_report(), handle_contact_up(), handle_custody_signal(), handle_custody_timeout(), handle_eid_reachable_query(), handle_eid_reachable_report(), handle_iface_attributes_query(), handle_iface_attributes_report(), handle_link_attribute_changed(), handle_link_attributes_query(), handle_link_attributes_report(), handle_link_available(), handle_link_create(), handle_link_created(), handle_link_delete(), handle_link_deleted(), handle_link_query(), handle_link_reconfigure(), handle_link_report(), handle_link_state_change_request(), handle_link_unavailable(), handle_new_eid_reachable(), handle_reassembly_completed(), handle_registration_added(), handle_registration_delete(), handle_registration_expired(), handle_registration_removed(), handle_route_add(), handle_route_del(), handle_route_query(), handle_route_report(), handle_set_link_defaults(), handle_shutdown_request(), handle_status_request(), dtn::LINK_ATTRIB_CHANGED, dtn::LINK_AVAILABLE, dtn::LINK_CREATE, dtn::LINK_CREATED, dtn::LINK_DELETE, dtn::LINK_DELETED, dtn::LINK_QUERY, dtn::LINK_RECONFIGURE, dtn::LINK_REPORT, dtn::LINK_STATE_CHANGE_REQUEST, dtn::LINK_UNAVAILABLE, dtn::REASSEMBLY_COMPLETED, dtn::REGISTRATION_ADDED, dtn::REGISTRATION_DELETE, dtn::REGISTRATION_EXPIRED, dtn::REGISTRATION_REMOVED, dtn::ROUTE_ADD, dtn::ROUTE_DEL, dtn::ROUTE_QUERY, dtn::ROUTE_REPORT, dtn::BundleEvent::type_, and dtn::BundleEvent::type_str().
Referenced by dtn::TableBasedRouter::handle_event(), dtn::ProphetRouter::handle_event(), dtn::ContactManager::handle_event(), and dtn::BundleDaemon::handle_event().
void dtn::BundleEventHandler::handle_bundle_received | ( | BundleReceivedEvent * | event | ) | [protected, virtual] |
Default event handler for new bundle arrivals.
Reimplemented in dtn::BundleDaemon, dtn::DTLSRRouter, dtn::FloodBundleRouter, dtn::ProphetRouter, dtn::TableBasedRouter, dtn::TcaRouter, and dtnsim::Node.
Definition at line 281 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_transmitted | ( | BundleTransmittedEvent * | event | ) | [protected, virtual] |
Default event handler when bundles are transmitted.
Reimplemented in dtn::BundleDaemon, dtn::ProphetRouter, dtn::TableBasedRouter, dtn::TcaRouter, and dtnsim::Node.
Definition at line 289 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_delivered | ( | BundleDeliveredEvent * | event | ) | [protected, virtual] |
Default event handler when bundles are locally delivered.
Reimplemented in dtn::BundleDaemon, dtn::ProphetRouter, and dtnsim::Node.
Definition at line 297 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_expired | ( | BundleExpiredEvent * | event | ) | [protected, virtual] |
Default event handler when bundles expire.
Reimplemented in dtn::BundleDaemon, dtn::DTLSRRouter, dtn::FloodBundleRouter, dtn::ProphetRouter, and dtnsim::Node.
Definition at line 305 of file BundleEventHandler.cc.
Referenced by dispatch_event(), dtn::FloodBundleRouter::handle_bundle_expired(), and dtn::DTLSRRouter::handle_bundle_expired().
void dtn::BundleEventHandler::handle_bundle_free | ( | BundleFreeEvent * | event | ) | [protected, virtual] |
Default event handler when bundles are free (i.e.
no more references).
Reimplemented in dtn::BundleDaemon.
Definition at line 314 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_send | ( | BundleSendRequest * | event | ) | [protected, virtual] |
Default event handler for bundle send requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 322 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_cancel | ( | BundleCancelRequest * | event | ) | [protected, virtual] |
Default event handler for send bundle request cancellations.
Reimplemented in dtn::BundleDaemon.
Definition at line 330 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_cancelled | ( | BundleSendCancelledEvent * | ) | [protected, virtual] |
Default event handler for bundle cancellations.
Reimplemented in dtn::BundleDaemon, and dtn::TableBasedRouter.
Definition at line 338 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_inject | ( | BundleInjectRequest * | event | ) | [protected, virtual] |
Default event handler for bundle inject requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 346 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_injected | ( | BundleInjectedEvent * | event | ) | [protected, virtual] |
Default event handler for bundle injected events.
Definition at line 354 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_delete | ( | BundleDeleteRequest * | request | ) | [protected, virtual] |
Default event handler for bundle delete requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 362 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_accept | ( | BundleAcceptRequest * | event | ) | [protected, virtual] |
Default event handler for a bundle accept request probe.
Reimplemented in dtn::BundleDaemon.
Definition at line 370 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_query | ( | BundleQueryRequest * | request | ) | [protected, virtual] |
Default event handler for bundle query requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 378 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_report | ( | BundleReportEvent * | request | ) | [protected, virtual] |
Default event handler for bundle reports.
Reimplemented in dtn::BundleDaemon.
Definition at line 386 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_attributes_query | ( | BundleAttributesQueryRequest * | ) | [protected, virtual] |
Default event handler for bundle attribute query requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 394 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_attributes_report | ( | BundleAttributesReportEvent * | ) | [protected, virtual] |
Default event handler for bundle attribute reports.
Reimplemented in dtn::BundleDaemon.
Definition at line 402 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_registration_added | ( | RegistrationAddedEvent * | event | ) | [protected, virtual] |
Default event handler when a new application registration arrives.
Reimplemented in dtn::BundleDaemon, dtn::DTLSRRouter, and dtn::TableBasedRouter.
Definition at line 411 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_registration_removed | ( | RegistrationRemovedEvent * | event | ) | [protected, virtual] |
Default event handler when a registration is removed.
Reimplemented in dtn::BundleDaemon, and dtn::TableBasedRouter.
Definition at line 419 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_registration_expired | ( | RegistrationExpiredEvent * | event | ) | [protected, virtual] |
Default event handler when a registration expires.
Reimplemented in dtn::BundleDaemon, and dtn::TableBasedRouter.
Definition at line 427 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_registration_delete | ( | RegistrationDeleteRequest * | event | ) | [protected, virtual] |
Default event handler when a registration is to be deleted.
Reimplemented in dtn::BundleDaemon.
Definition at line 435 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_contact_up | ( | ContactUpEvent * | event | ) | [protected, virtual] |
Default event handler when a new contact is up.
Reimplemented in dtn::BundleDaemon, dtn::ContactManager, dtn::DTLSRRouter, dtn::ProphetRouter, dtn::TableBasedRouter, and dtn::TcaRouter.
Definition at line 443 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_contact_down | ( | ContactDownEvent * | event | ) | [protected, virtual] |
Default event handler when a contact is down.
Reimplemented in dtn::BundleDaemon, dtn::DTLSRRouter, dtn::ProphetRouter, dtn::TableBasedRouter, and dtn::TcaRouter.
Definition at line 451 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_contact_query | ( | ContactQueryRequest * | request | ) | [protected, virtual] |
Default event handler for contact query requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 459 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_contact_report | ( | ContactReportEvent * | request | ) | [protected, virtual] |
Default event handler for contact reports.
Reimplemented in dtn::BundleDaemon.
Definition at line 467 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_contact_attribute_changed | ( | ContactAttributeChangedEvent * | ) | [protected, virtual] |
Default event handler for contact attribute changes.
Definition at line 475 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_created | ( | LinkCreatedEvent * | event | ) | [protected, virtual] |
Default event handler when a new link is created.
Reimplemented in dtn::BundleDaemon, dtn::ContactManager, dtn::DTLSRRouter, dtn::FloodBundleRouter, and dtn::TableBasedRouter.
Definition at line 483 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_deleted | ( | LinkDeletedEvent * | event | ) | [protected, virtual] |
Default event handler when a link is deleted.
Reimplemented in dtn::BundleDaemon, dtn::DTLSRRouter, and dtn::TableBasedRouter.
Definition at line 491 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_available | ( | LinkAvailableEvent * | event | ) | [protected, virtual] |
Default event handler when link becomes available.
Reimplemented in dtn::BundleDaemon, dtn::ContactManager, dtn::ProphetRouter, dtn::TableBasedRouter, and dtn::TcaRouter.
Definition at line 499 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_unavailable | ( | LinkUnavailableEvent * | event | ) | [protected, virtual] |
Default event handler when a link is unavailable.
Reimplemented in dtn::BundleDaemon, dtn::ContactManager, and dtn::TcaRouter.
Definition at line 507 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_state_change_request | ( | LinkStateChangeRequest * | req | ) | [protected, virtual] |
Default event handler for link state change requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 515 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_create | ( | LinkCreateRequest * | request | ) | [protected, virtual] |
Default event handler for link create requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 523 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_delete | ( | LinkDeleteRequest * | request | ) | [protected, virtual] |
Default event handler for link delete requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 531 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_reconfigure | ( | LinkReconfigureRequest * | request | ) | [protected, virtual] |
Default event handler for link reconfigure requests.
Default event handler for link reconfiguration requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 539 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_query | ( | LinkQueryRequest * | request | ) | [protected, virtual] |
Default event handler for link query requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 547 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_report | ( | LinkReportEvent * | request | ) | [protected, virtual] |
Default event handler for link reports.
Reimplemented in dtn::BundleDaemon.
Definition at line 555 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_attribute_changed | ( | LinkAttributeChangedEvent * | ) | [protected, virtual] |
Default event handler for link attribute changes.
Reimplemented in dtn::BundleDaemon.
Definition at line 563 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_reassembly_completed | ( | ReassemblyCompletedEvent * | event | ) | [protected, virtual] |
Default event handler when reassembly is completed.
Reimplemented in dtn::BundleDaemon.
Definition at line 571 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_route_add | ( | RouteAddEvent * | event | ) | [protected, virtual] |
Default event handler when a new route is added by the command or management interface.
Reimplemented in dtn::BundleDaemon, and dtn::TableBasedRouter.
Definition at line 580 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_route_del | ( | RouteDelEvent * | event | ) | [protected, virtual] |
Default event handler when a route is deleted by the command or management interface.
Reimplemented in dtn::BundleDaemon, and dtn::TableBasedRouter.
Definition at line 589 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_route_query | ( | RouteQueryRequest * | request | ) | [protected, virtual] |
Default event handler for static route query requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 597 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_route_report | ( | RouteReportEvent * | request | ) | [protected, virtual] |
Default event handler for static route reports.
Reimplemented in dtn::BundleDaemon.
Definition at line 605 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_custody_signal | ( | CustodySignalEvent * | event | ) | [protected, virtual] |
Default event handler when custody signals are received.
Reimplemented in dtn::BundleDaemon.
Definition at line 613 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_custody_timeout | ( | CustodyTimeoutEvent * | event | ) | [protected, virtual] |
Default event handler when custody transfer timers expire.
Reimplemented in dtn::BundleDaemon, and dtn::TableBasedRouter.
Definition at line 621 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_shutdown_request | ( | ShutdownRequest * | event | ) | [protected, virtual] |
Default event handler for shutdown requests.
Reimplemented in dtn::BundleDaemon, and dtn::TcaRouter.
Definition at line 629 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_status_request | ( | StatusRequest * | event | ) | [protected, virtual] |
Default event handler for status requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 637 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_cla_set_params | ( | CLASetParamsRequest * | ) | [protected, virtual] |
Default event handler for CLA parameter set requests.
Reimplemented in dtn::BundleDaemon.
Definition at line 645 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_cla_params_set | ( | CLAParamsSetEvent * | ) | [protected, virtual] |
Default event handler for CLA parameters set events.
Definition at line 653 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_set_link_defaults | ( | SetLinkDefaultsRequest * | ) | [protected, virtual] |
Default event handler for set link defaults requests.
Definition at line 661 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_new_eid_reachable | ( | NewEIDReachableEvent * | ) | [protected, virtual] |
Default event handler for new EIDs discovered by CLA.
Definition at line 669 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_queued_query | ( | BundleQueuedQueryRequest * | ) | [protected, virtual] |
Default event handlers for queries to and reports from the CLA.
Reimplemented in dtn::BundleDaemon.
Definition at line 677 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_bundle_queued_report | ( | BundleQueuedReportEvent * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 682 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_eid_reachable_query | ( | EIDReachableQueryRequest * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 687 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_eid_reachable_report | ( | EIDReachableReportEvent * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 692 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_attributes_query | ( | LinkAttributesQueryRequest * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 697 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_link_attributes_report | ( | LinkAttributesReportEvent * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 702 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_iface_attributes_query | ( | IfaceAttributesQueryRequest * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 707 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_iface_attributes_report | ( | IfaceAttributesReportEvent * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 712 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_cla_parameters_query | ( | CLAParametersQueryRequest * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 717 of file BundleEventHandler.cc.
Referenced by dispatch_event().
void dtn::BundleEventHandler::handle_cla_parameters_report | ( | CLAParametersReportEvent * | ) | [protected, virtual] |
Reimplemented in dtn::BundleDaemon.
Definition at line 722 of file BundleEventHandler.cc.
Referenced by dispatch_event().