CMPXMessageMonitor Class Reference

class CMPXMessageMonitor : public CActive

Monitor messages in the message queue. The class is always derived from and is never instantiated explicitly.

mpxcommon.lib

Inherits from

Constructor & Destructor Documentation

CMPXMessageMonitor(const RMPXSession &, MMPXMessageObserver &)

CMPXMessageMonitor ( const RMPXSession & aSession,
MMPXMessageObserver & aObserver
) [private]

C++ constructor.

Since
S60 3.2.3

Parameters

const RMPXSession & aSession refrence to session object
MMPXMessageObserver & aObserver observer

~CMPXMessageMonitor()

IMPORT_C ~CMPXMessageMonitor ( ) [virtual]

Destructor.

Since
S60 3.2.3

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Second phase constructor.

Since
S60 3.2.3

DoCancel()

IMPORT_C void DoCancel ( ) [protected, virtual]

From CActive . Implements cancellation of an outstanding request.

Since
S60 3.2.3

GetNextMessage()

IMPORT_C void GetNextMessage ( )

Get next message.

Since
S60 3.2.3

NewL(const RMPXSession &, MMPXMessageObserver &)

IMPORT_C CMPXMessageMonitor * NewL ( const RMPXSession & aSession,
MMPXMessageObserver & aObserver
) [static]

Two-phased constructor.

Since
S60 3.2.3

Parameters

const RMPXSession & aSession refrence to session object
MMPXMessageObserver & aObserver observer

RunError(TInt)

IMPORT_C TInt RunError ( TInt aError ) [protected, virtual]

From CActive . Handles a leave occurring in the request completion event handler RunL() .

Since
S60 3.2.3

Parameters

TInt aError error code

RunL()

IMPORT_C void RunL ( ) [protected, virtual]

From CActive . Handles request completion event.

Since
S60 3.2.3

WaitForNextMessage()

void WaitForNextMessage ( ) [protected]

Wait for next message.

Since
S60 3.2.3

Member Data Documentation

TPckgBuf< TInt > iErrorPkg

TPckgBuf < TInt > iErrorPkg [private]

TPckgBuf< TInt > iMsgDataPkg

TPckgBuf < TInt > iMsgDataPkg [private]

MMPXMessageObserver & iObserver

MMPXMessageObserver & iObserver [private]

const RMPXSession & iSession

const RMPXSession & iSession [private]