Public Member Functions | |
QDaqFwdCommand () | |
constructor | |
virtual | ~QDaqFwdCommand () |
destructor | |
virtual void | Execute () |
forward command to server specified in modifier | |
virtual void | CheckParams () |
check that modifier matches one of the allowed recipient server string identifiers | |
Protected Member Functions | |
virtual bool | ParseParameters () |
do nothing leave parameters string as is | |
Private Attributes | |
std::map< std::string, srvinfo_t > | fAddresses |
map of allowed command recipients and corresponding network coordinates | |
std::map< std::string, srvinfo_t >::iterator | fAddrIt |
fAddresses map iterator | |
Friends | |
class | QDaqServer |
void QDaqFwdCommand::Execute | ( | ) | [virtual] |
forward command to server specified in modifier
This method opens a client side connection to the server specified by the modifier and forwards to it the string that usually contains command parameters. Answer (if any) from contacted server is returned as answer to the calling client.
void QDaqFwdCommand::CheckParams | ( | ) | [virtual] |
check that modifier matches one of the allowed recipient server string identifiers
Only forward to slow server is implemented up to now. Corresponding identifier is "slowserver"