28 #ifndef I_ShowBesKeyResponseHandler_h 29 #define I_ShowBesKeyResponseHandler_h 1 34 #include "BESResponseHandler.h" 35 #include "ShowBesKeyCommand.h" 45 void eval_resource_path(
const std::string &resource_path,
const std::string &catalog_root,
const bool follow_sym_links,
46 std::string &validPath,
bool &isFile,
bool &isDir,
long long &size,
long long &lastModifiedTime,
bool &canRead,
47 std::string &remainder);
55 virtual void dump(std::ostream &strm)
const;
59 virtual void getBesKeyValue(
string key, std::vector<string> &values);
62 #endif // I_ShowBesKeyResponseHandler_h Response handler that returns the value(s) of a BES key.
virtual void dump(std::ostream &strm) const
dumps information about this object
handler object that knows how to create a specific response object
virtual void transmit(BESTransmitter *transmitter, BESDataHandlerInterface &dhi)
transmit the response object built by the execute command using the specified transmitter object
Structure storing information used by the BES to handle the request.
virtual void execute(BESDataHandlerInterface &dhi)
executes the command 'show catalog|leaves [for <node>];' by returning nodes or leaves at the top leve...