#include <BESCmdParser.h>
Public Member Functions | |
BESCmdParser () | |
~BESCmdParser () | |
Static Public Member Functions | |
static void | parse (const string &, BESDataHandlerInterface &) |
parse the request string and build the execution plan for the request. |
Parses the incoming request, retrieving first the type of response object that is being requested and passing off the parsing of the request to that response handler. For example, if a "get" request is being sent, the parser parses the string "get", locates the response handler that handes a "get" request, and hands off the parsing of the ramaining request string to that response handler.
First, the parser builds the list of tokens using the BESTokernizer object. This list of tokens is then passed to the response handler to parse the remainder of the request.
All requests must end with a semicolon.
|
|
|
|
|
parse the request string and build the execution plan for the request. Parse the request string into a list of tokens using the BESTokenizer object and builds the execution plan for the request. This plan includes the type of response object that is being requested.
|