0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
Hyperspace::RequestHandlerAttrExists Class Reference

Unmarshalls request parameters and calls Master::attr_exists(). More...

#include <RequestHandlerAttrExists.h>

Inheritance diagram for Hyperspace::RequestHandlerAttrExists:
Inheritance graph
[legend]
Collaboration diagram for Hyperspace::RequestHandlerAttrExists:
Collaboration graph
[legend]

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

Commm_comm
 Comm instance. More...
 
Masterm_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...
 

Detailed Description

Unmarshalls request parameters and calls Master::attr_exists().

Definition at line 46 of file RequestHandlerAttrExists.h.

Constructor & Destructor Documentation

Hyperspace::RequestHandlerAttrExists::RequestHandlerAttrExists ( Comm comm,
Master master,
uint64_t  session_id,
EventPtr event 
)
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.

Parameters
commComm instance
masterMaster pointer
session_idSession ID
eventEvent object generating request

Definition at line 58 of file RequestHandlerAttrExists.h.

Member Function Documentation

void RequestHandlerAttrExists::run ( )
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.

Member Data Documentation

Comm* Hyperspace::RequestHandlerAttrExists::m_comm
private

Comm instance.

Definition at line 74 of file RequestHandlerAttrExists.h.

Master* Hyperspace::RequestHandlerAttrExists::m_master
private

Hyperspace master

Definition at line 77 of file RequestHandlerAttrExists.h.

uint64_t Hyperspace::RequestHandlerAttrExists::m_session_id
private

Session ID

Definition at line 80 of file RequestHandlerAttrExists.h.


The documentation for this class was generated from the following files: