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 & aSessionrefrence to session object
MMPXMessageObserver & aObserverobserver

~CMPXMessageMonitor()

IMPORT_C~CMPXMessageMonitor()[virtual]

Destructor.

Since
S60 3.2.3

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase constructor.

Since
S60 3.2.3

DoCancel()

IMPORT_C voidDoCancel()[protected, virtual]

From CActive. Implements cancellation of an outstanding request.

Since
S60 3.2.3

GetNextMessage()

IMPORT_C voidGetNextMessage()

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 & aSessionrefrence to session object
MMPXMessageObserver & aObserverobserver

RunError(TInt)

IMPORT_C TIntRunError(TIntaError)[protected, virtual]

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

Since
S60 3.2.3

Parameters

TInt aErrorerror code

RunL()

IMPORT_C voidRunL()[protected, virtual]

From CActive. Handles request completion event.

Since
S60 3.2.3

WaitForNextMessage()

voidWaitForNextMessage()[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]