#include <BundleEvent.h>
Public Types | |
typedef Link::state_t | state_t |
Shared type code for state_t with Link. | |
Public Member Functions | |
LinkStateChangeRequest (const LinkRef &link, state_t state, reason_t reason) | |
LinkStateChangeRequest (const oasys::Builder &, state_t state, reason_t reason) | |
Public Attributes | |
LinkRef | link_ |
The link to be changed. | |
int | state_ |
Requested state. | |
ContactRef | contact_ |
The active Contact when the request was made. | |
int | old_state_ |
State when the request was made. |
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 653 of file BundleEvent.h.
dtn::LinkStateChangeRequest::LinkStateChangeRequest | ( | const LinkRef & | link, | |
state_t | state, | |||
reason_t | reason | |||
) | [inline] |
Definition at line 658 of file BundleEvent.h.
References contact_, dtn::BundleEvent::daemon_only_, and old_state_.
The active Contact when the request was made.
Definition at line 684 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_link_state_change_request(), and LinkStateChangeRequest().
The link to be changed.
Definition at line 678 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_link_state_change_request().
State when the request was made.
Definition at line 687 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_link_state_change_request(), and LinkStateChangeRequest().
Requested state.
Definition at line 681 of file BundleEvent.h.
Referenced by dtn::BundleDaemon::handle_link_state_change_request().