Swi::CUissCmdHandler Class Reference

class Swi::CUissCmdHandler : public CBase

Base class for all command handlers, which are used to handle messages received by the server. This class provides utility functions for the derived classes to utilise.

Inherits from

Constructor & Destructor Documentation

CUissCmdHandler(MUiHandler &)

IMPORT_C CUissCmdHandler ( MUiHandler & aUiHandler ) [protected]

Constructor.

Parameters

MUiHandler & aUiHandler The UI Handler used to display the messages.

Member Functions Documentation

CompleteL(const RMessage2 &, TInt, const TDesC8 &)

void CompleteL ( const RMessage2 & aMessage,
TInt aError,
const TDesC8 & aData
) const [protected]

Helper function to complete the message, passing back a descriptor in argument one of the message.

Parameters

const RMessage2 & aMessage The message to complete.
TInt aError
const TDesC8 & aData The data to write back in argument one of the message.

HandleMessageL(const TDesC8 &, TDes8 &)

void HandleMessageL ( const TDesC8 & aInBuf,
TDes8 & aOutBuf
) [pure virtual]

Called to handle the message received by the server.

Parameters

const TDesC8 & aInBuf Contains input data for the message
TDes8 & aOutBuf Receives output data from the message handler

Member Data Documentation

MUiHandler & iUiHandler

MUiHandler & iUiHandler [protected]