#include <BESSetContextCommand.h>
Inheritance diagram for BESSetContextCommand:
Public Member Functions | |
BESSetContextCommand (const string &cmd) | |
virtual | ~BESSetContextCommand () |
virtual BESResponseHandler * | parse_request (BESTokenizer &tokens, BESDataHandlerInterface &dhi) |
parses the request to set context within the BES. A context consists of a name and a value. | |
virtual void | dump (ostream &strm) const |
dumps information about this object | |
virtual string | parse_options (BESTokenizer &tokens, BESDataHandlerInterface &dhi) |
Static Public Member Functions | |
static void | add_command (const string &cmd_str, BESCommand *cmd) |
static bool | del_command (const string &cmd_str) |
static BESCommand * | find_command (const string &cmd_str) |
Static Public Attributes | |
static BESCommand * | TermCommand = new BESTermCommand( "term" ) |
Protected Attributes | |
string | _cmd |
|
|
|
|
|
|
|
|
|
dumps information about this object Displays the pointer value of this instance
Reimplemented from BESCommand. |
|
|
|
Reimplemented in BESDefineCommand, and BESSetCommand. |
|
parses the request to set context within the BES. A context consists of a name and a value. The syntax for a request handled by this response handler is: set context <context_name>,<context_value>; The request must end with a semicolon and must contain the context name and the context value.
Implements BESCommand. |
|
|
|
|