Unmarshalls request parameters and calls Master::attr_exists(). More...
#include <RequestHandlerAttrExists.h>
Public Member Functions | |
RequestHandlerAttrExists (Comm *comm, Master *master, uint64_t session_id, EventPtr &event) | |
Constructor. More... | |
virtual void | run () |
Unmarshalls request parameters and calls Master::attr_exists(). More... | |
Public Member Functions inherited from Hypertable::ApplicationHandler | |
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 |
Comm instance. More... | |
Master * | m_master |
Hyperspace master More... | |
uint64_t | m_session_id |
Session ID More... | |
Additional Inherited Members | |
Protected Attributes inherited from Hypertable::ApplicationHandler | |
EventPtr | m_event |
MESSAGE Event from which handler was initialized. More... | |
bool | m_urgent |
Flag indicating if handler is urgent. More... | |
Unmarshalls request parameters and calls Master::attr_exists().
Definition at line 46 of file RequestHandlerAttrExists.h.
|
inline |
Constructor.
Initializes object by passing event
into parent constructor, setting m_comm to comm
, m_master to master
, and m_session_id to session_id
.
comm | Comm instance |
master | Master pointer |
session_id | Session ID |
event | Event object generating request |
Definition at line 58 of file RequestHandlerAttrExists.h.
|
virtual |
Unmarshalls request parameters and calls Master::attr_exists().
This method unmarshalls request parameters from the originating Event object and passes them into a call to Master::attr_exists(). See Protocol::create_attr_exists_request() for the request parameter encoding format.
Implements Hypertable::ApplicationHandler.
Definition at line 43 of file RequestHandlerAttrExists.cc.
|
private |
Comm instance.
Definition at line 74 of file RequestHandlerAttrExists.h.
|
private |
Hyperspace master
Definition at line 77 of file RequestHandlerAttrExists.h.
|
private |
Session ID
Definition at line 80 of file RequestHandlerAttrExists.h.