Decodes set state request and calls RangeServer::set_state(). More...
#include <SetState.h>
Public Member Functions | |
SetState (Comm *comm, Apps::RangeServer *rs, EventPtr &event) | |
Constructor. More... | |
virtual void | run () |
Decodes request and calls RangeServer::set_state(). More... | |
![]() | |
ApplicationHandler (EventPtr &event) | |
Constructor initializing from an Event object. More... | |
ApplicationHandler (bool urgent=false) | |
Default constructor with m_urgent flag initialization. More... | |
virtual | ~ApplicationHandler () |
Destructor. More... | |
uint64_t | get_group_id () |
Returns the group ID that this handler belongs to. More... | |
bool | is_urgent () |
Returns true if request is urgent. More... | |
bool | is_expired () |
Returns true if request has expired. More... | |
Private Attributes | |
Comm * | m_comm |
Pointer to Comm object. More... | |
Apps::RangeServer * | m_range_server |
Pointer to RangeServer object. More... | |
Additional Inherited Members | |
![]() | |
EventPtr | m_event |
MESSAGE Event from which handler was initialized. More... | |
bool | m_urgent |
Flag indicating if handler is urgent. More... | |
Decodes set state request and calls RangeServer::set_state().
Definition at line 46 of file SetState.h.
|
inline |
Constructor.
comm | Pointer to Comm object |
rs | Pointer to RangeServer object |
event | Request event object |
Definition at line 54 of file SetState.h.
|
virtual |
Decodes request and calls RangeServer::set_state().
This method decodes the request in the format:
Generation number of state variables (i64) Vector of state variable specs
Implements Hypertable::ApplicationHandler.
Definition at line 44 of file SetState.cc.
|
private |
Pointer to Comm object.
Definition at line 69 of file SetState.h.
|
private |
Pointer to RangeServer object.
Definition at line 72 of file SetState.h.