#include <BundleEvent.h>
Inheritance diagram for dtn::ContactEvent:

Definition at line 340 of file BundleEvent.h.
Public Types | |
| enum | reason_t { INVALID = 0, NO_INFO, USER, BROKEN, SHUTDOWN, RECONNECT, IDLE, TIMEOUT, UNBLOCKED } |
| Reason codes for contact state operations. More... | |
Public Member Functions | |
| ContactEvent (event_type_t type, reason_t reason=NO_INFO) | |
| Constructor. | |
Static Public Member Functions | |
| static const char * | reason_to_str (reason_t reason) |
| Reason to string conversion. | |
Public Attributes | |
| reason_t | reason_ |
| reason code for the event | |
Reason codes for contact state operations.
Definition at line 345 of file BundleEvent.h.
| dtn::ContactEvent::ContactEvent | ( | event_type_t | type, | |
| reason_t | reason = NO_INFO | |||
| ) | [inline] |
| static const char* dtn::ContactEvent::reason_to_str | ( | reason_t | reason | ) | [inline, static] |
Reason to string conversion.
Definition at line 360 of file BundleEvent.h.
References BROKEN, IDLE, INVALID, NO_INFO, NOTREACHED, RECONNECT, SHUTDOWN, TIMEOUT, UNBLOCKED, and USER.
Referenced by dtn::CLConnection::break_contact(), dtn::BundleDaemon::handle_contact_down(), dtn::BundleDaemon::handle_link_state_change_request(), and dtn::ContactManager::handle_link_unavailable().
reason code for the event
Definition at line 379 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_contact_down(), dtn::BundleDaemon::handle_link_state_change_request(), and dtn::ContactManager::handle_link_unavailable().
1.5.1