Public Member Functions | |
| QCommandHandler () | |
| ctor | |
| virtual | ~QCommandHandler () |
| dtor | |
| std::string | HandleCommand (const char *cmd) const |
| select appropriate command using QParserFinder and the appropriate command parser, then execute the command and build answer string using QNwMessageBuilder. | |
| std::string QCommandHandler::HandleCommand | ( | const char * | cmd | ) | const |
select appropriate command using QParserFinder and the appropriate command parser, then execute the command and build answer string using QNwMessageBuilder.
| cmd | complete command string as it is received from network |
References QNwMessageBuilder::BuildMessage(), QCommand::Execute(), QParserFinder::Get(), QCommand::GetAnswerMap(), QParserFinder::GetParser(), QCommand::IsValid(), QBaseCmdParser::Parse(), QNwMessageBuilder::SetCommand(), and QNwMessageBuilder::SetParameterList().
Referenced by QFileDescriptor::HandleCommand().
1.5.6