60 switch (event->header.command) {
63 return new Open(comm, broker, event);
65 return new Create(comm, broker, event);
67 return new Close(comm, broker, event);
69 return new Read(comm, broker, event);
71 return new Append(comm, broker, event);
73 return new Seek(comm, broker, event);
75 return new Remove(comm, broker, event);
77 return new Length(comm, broker, event);
79 return new Pread(comm, broker, event);
81 return new Mkdirs(comm, broker, event);
83 return new Status(comm, broker, event);
85 return new Flush(comm, broker, event);
87 return new Rmdir(comm, broker, event);
89 return new Readdir(comm, broker, event);
91 return new Exists(comm, broker, event);
93 return new Rename(comm, broker, event);
95 return new Debug(comm, broker, event);
97 return new Sync(comm, broker, event);
100 "%d", (
int)event->header.command);
Application handler for mkdirs function.
Application handler for append function.
Application handler for readdir function.
Declarations for Create request handler.
Application handler for read function.
Abstract class to be implemented by brokers.
Declarations for Status request handler.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
Application handler for create function.
Application handler for open function.
Application handler for rename function.
Application handler for remove function.
static ApplicationHandler * create(Comm *comm, Broker *broker, EventPtr &event)
Constructs a handler class from a request event.
Declarations for Remove request handler.
Application handler for seek function.
Application handler for status function.
Declarations for Pread request handler.
Logging routines and macros.
Application handler for pread function.
Compatibility Macros for C/C++.
Declarations for Read request handler.
Declarations for Sync request handler.
Declarations for Rmdir request handler.
Application handler for exists function.
Declarations for Open request handler.
Declarations for Close request handler.
Application handler for rmdir function.
Declarations for Mkdirs request handler.
Application handler for debug function.
Declarations for Seek request handler.
Application handler for close function.
Entry point to AsyncComm service.
Declarations for Rename request handler.
Declarations for Exists request handler.
Declarations for Debug request handler.
Declarations for Flush request handler.
#define HT_THROWF(_code_, _fmt_,...)
Base clase for application handlers.
Application handler for length function.
Declarations for Length request handler.
Application handler for sync function.
Declarations for Readdir request handler.
Application handler for flush function.
Error codes, Exception handling, error logging.
Declarations for FsBroker request handler Factory.
Declarations for Append request handler.