bes  Updated for version 3.20.6
GatewayPathInfoCommand.h
1 
2 #ifndef A_GatewayPathInfoCommand_h
3 #define A_GatewayPathInfoCommand_h 1
4 
5 #include "BESXMLCommand.h"
6 #include "BESDataHandlerInterface.h"
7 
8 #define SPI_DEBUG_KEY "gateway-path-info"
9 #define SHOW_GATEWAY_PATH_INFO_RESPONSE "show.gatewayPathInfo"
10 #define SHOW_GATEWAY_PATH_INFO_RESPONSE_STR "showGatewayPathInfo"
11 
13 public:
15  virtual ~GatewayPathInfoCommand()
16  {
17  }
18 
19  virtual void parse_request(xmlNode *node);
20 
21  virtual bool has_response()
22  {
23  return true;
24  }
25 
26  virtual void dump(std::ostream &strm) const;
27 
28  static BESXMLCommand * CommandBuilder(const BESDataHandlerInterface &base_dhi);
29 };
30 
31 #endif // A_GatewayPathInfoCommand_h
GatewayPathInfoCommand::parse_request
virtual void parse_request(xmlNode *node)
parse a show command. No properties or children elements
Definition: GatewayPathInfoCommand.cc:26
GatewayPathInfoCommand
Definition: GatewayPathInfoCommand.h:12
BESXMLCommand
Base class for the BES's commands.
Definition: BESXMLCommand.h:63
BESDataHandlerInterface
Structure storing information used by the BES to handle the request.
Definition: BESDataHandlerInterface.h:56
GatewayPathInfoCommand::has_response
virtual bool has_response()
Does this command return a response to the client?
Definition: GatewayPathInfoCommand.h:21
GatewayPathInfoCommand::dump
virtual void dump(std::ostream &strm) const
dumps information about this object
Definition: GatewayPathInfoCommand.cc:62