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
Hypertable::FsBroker::Lib::Request::Handler::Mkdirs Class Reference

Application handler for mkdirs function. More...

#include <Mkdirs.h>

Inheritance diagram for Hypertable::FsBroker::Lib::Request::Handler::Mkdirs:
Inheritance graph
[legend]
Collaboration diagram for Hypertable::FsBroker::Lib::Request::Handler::Mkdirs:
Collaboration graph
[legend]

Public Member Functions

 Mkdirs (Comm *comm, Broker *broker, EventPtr &event)
 Constructor. More...
 
virtual void run ()
 Invokes the mkdirs function. 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
 Pointer to comm layer. More...
 
Brokerm_broker
 Pointer to file system broker object. 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

Application handler for mkdirs function.

Definition at line 46 of file Mkdirs.h.

Constructor & Destructor Documentation

Hypertable::FsBroker::Lib::Request::Handler::Mkdirs::Mkdirs ( Comm comm,
Broker broker,
EventPtr event 
)
inline

Constructor.

Initializes parent application handler class with event and inititalizes m_comm and m_broker with comm and broker, respectively

Parameters
commPointer to comm layer
brokerPointer to file system broker object
eventComm layer event instigating the request

Definition at line 56 of file Mkdirs.h.

Member Function Documentation

void Mkdirs::run ( )
virtual

Invokes the mkdirs function.

Decodes the request parameters from the underlying event object and then calls the mkdirs function of m_broker.

Implements Hypertable::ApplicationHandler.

Definition at line 43 of file Mkdirs.cc.

Member Data Documentation

Broker* Hypertable::FsBroker::Lib::Request::Handler::Mkdirs::m_broker
private

Pointer to file system broker object.

Definition at line 68 of file Mkdirs.h.

Comm* Hypertable::FsBroker::Lib::Request::Handler::Mkdirs::m_comm
private

Pointer to comm layer.

Definition at line 66 of file Mkdirs.h.


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