28#ifndef I_ShowPathInfoResponseHandler_h
29#define I_ShowPathInfoResponseHandler_h 1
34#include "BESResponseHandler.h"
36#define SHOW_PATH_INFO_RESPONSE "show.pathInfo"
51class ShowPathInfoResponseHandler:
public BESResponseHandler {
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);
58 ShowPathInfoResponseHandler(
const std::string &name);
59 virtual ~ShowPathInfoResponseHandler(
void);
64 virtual void dump(std::ostream &strm)
const;
66 static BESResponseHandler *ShowPathInfoResponseBuilder(
const std::string &name);
Structure storing information used by the BES to handle the request.
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