QMsgCommand Class Reference

Inheritance diagram for QMsgCommand:

QCommand

List of all members.


Detailed Description

command used to send informations to message logger server

Author:
Marco Pallavicini

sergio.didomizio@ge.infn.it


Public Member Functions

virtual void Execute ()
 execute command
virtual void CheckParams ()
 chech whether all parameters are present and meaningful

Private Member Functions

void HandleLogCommand ()
void HandleStatusCommand ()
void HandleUnknownCommand ()
void HandleRegisterCommand (bool reg)

Member Function Documentation

void QMsgCommand::Execute (  )  [virtual]

execute command

This method should be called after CheckParams(), and only if after calling CheckParams() the command is still valid and has no errors.
This method is expected to execute the command by calling the appropriate method of the main server object based on the modifier and the parameters obtained in CheckParams().

Implements QCommand.

References QCommand::GetModifier().

void QMsgCommand::CheckParams (  )  [virtual]

chech whether all parameters are present and meaningful

The aim of this method is to separate checks on command correctness from command execution (performed in Execute()).
This method should check whether all the parameters needed for the requested command/modifier pair are present and make sense.
In case of failure an error must be set by calling SetError()

Implements QCommand.


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:07 2010 for CUORE Software by  doxygen 1.5.6