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

  • Swi::CUissCmdHandler

Constructor & Destructor Documentation

CUissCmdHandler(MUiHandler &)

IMPORT_CCUissCmdHandler(MUiHandler &aUiHandler)[protected]

Constructor.

Parameters

MUiHandler & aUiHandlerThe UI Handler used to display the messages.

Member Functions Documentation

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

voidCompleteL(const RMessage2 &aMessage,
TIntaError,
const TDesC8 &aData
)const [protected]

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

Parameters

const RMessage2 & aMessageThe message to complete.
TInt aError
const TDesC8 & aDataThe data to write back in argument one of the message.

HandleMessageL(const TDesC8 &, TDes8 &)

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

Called to handle the message received by the server.

Parameters

const TDesC8 & aInBufContains input data for the message
TDes8 & aOutBufReceives output data from the message handler

Member Data Documentation

MUiHandler & iUiHandler

MUiHandler &iUiHandler[protected]