0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Static Public Member Functions | List of all members
Hypertable::FsBroker::Lib::Request::Handler::Factory Class Reference

Factory class for constructing application handlers from request events. More...

#include <Factory.h>

Public Types

enum  Type {
  FUNCTION_OPEN = 0, FUNCTION_CREATE, FUNCTION_CLOSE, FUNCTION_READ,
  FUNCTION_APPEND, FUNCTION_SEEK, FUNCTION_REMOVE, FUNCTION_SHUTDOWN,
  FUNCTION_LENGTH, FUNCTION_PREAD, FUNCTION_MKDIRS, FUNCTION_STATUS,
  FUNCTION_FLUSH, FUNCTION_RMDIR, FUNCTION_READDIR, FUNCTION_EXISTS,
  FUNCTION_RENAME, FUNCTION_DEBUG, FUNCTION_SYNC, FUNCTION_MAX
}
 Enumeration for request function codes. More...
 

Static Public Member Functions

static ApplicationHandlercreate (Comm *comm, Broker *broker, EventPtr &event)
 Constructs a handler class from a request event. More...
 

Detailed Description

Factory class for constructing application handlers from request events.

Definition at line 46 of file Factory.h.

Member Function Documentation

ApplicationHandler * Factory::create ( Comm comm,
Broker broker,
EventPtr event 
)
static

Constructs a handler class from a request event.

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

Definition at line 57 of file Factory.cc.


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