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 ApplicationHandler * | create (Comm *comm, Broker *broker, EventPtr &event) |
Constructs a handler class from a request event. More... | |
Factory class for constructing application handlers from request events.
|
static |
Constructs a handler class from a request event.
comm | Comm layer |
broker | Pointer to file system broker object |
event | Comm layer event instigating the request |
Definition at line 57 of file Factory.cc.