#include <BundleEvent.h>
Inheritance diagram for dtn::LinkStateChangeRequest:
This includes requests to open or close the link, and changing its status to available or unavailable.
When closing a link, a reason must be given for the event.
Definition at line 462 of file BundleEvent.h.
Public Types | |
typedef Link::state_t | state_t |
Shared type code for state_t with Link. | |
Public Member Functions | |
LinkStateChangeRequest (Link *link, state_t state, reason_t reason) | |
Public Attributes | |
Link * | link_ |
The link to be changed. | |
state_t | state_ |
Requested state. | |
ContactRef | contact_ |
The active Contact when the request was made. | |
state_t | old_state_ |
State when the request was made. |
dtn::LinkStateChangeRequest::LinkStateChangeRequest | ( | Link * | link, | |
state_t | state, | |||
reason_t | reason | |||
) | [inline] |
Definition at line 467 of file BundleEvent.h.
References dtn::Link::contact(), contact_, dtn::BundleEvent::daemon_only_, old_state_, and dtn::Link::state().
The link to be changed.
Definition at line 478 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_link_state_change_request().
Requested state.
Definition at line 481 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_link_state_change_request().
The active Contact when the request was made.
Definition at line 484 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_link_state_change_request(), and LinkStateChangeRequest().
State when the request was made.
Definition at line 487 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_link_state_change_request(), and LinkStateChangeRequest().