28 #ifndef I_ShowPathInfoResponseHandler_h 29 #define I_ShowPathInfoResponseHandler_h 1 34 #include "BESResponseHandler.h" 36 #define SHOW_PATH_INFO_RESPONSE "show.pathInfo" 53 void eval_resource_path(
const std::string &resource_path,
const std::string &catalog_root,
const bool follow_sym_links,
54 std::string &validPath,
bool &isFile,
bool &isDir,
long long &size,
long long &lastModifiedTime,
bool &canRead,
55 std::string &remainder);
64 virtual void dump(std::ostream &strm)
const;
69 #endif // I_ShowPathInfoResponseHandler_h virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'show catalog|leaves [for <node>];' by returning nodes or leaves at the top leve...
virtual void dump(std::ostream &strm) const
dumps information about this object
handler object that knows how to create a specific response object
void eval_resource_path(const std::string &resource_path, const std::string &catalog_root, const bool follow_sym_links, std::string &validPath, bool &isFile, bool &isDir, long long &size, long long &lastModifiedTime, bool &canRead, std::string &remainder)
response handler that returns nodes or leaves within the catalog either at the root or at a specified...
Structure storing information used by the BES to handle the request.