CMPXMessageQueue Class Reference

class CMPXMessageQueue : public CBase

Message queue.

mpxcommon.lib

Inherits from

Constructor & Destructor Documentation

CMPXMessageQueue()

CMPXMessageQueue()[private]

C++ constructor.

Since
S60 3.2.3

~CMPXMessageQueue()

IMPORT_C~CMPXMessageQueue()

Destructor.

Since
S60 3.2.3

Member Functions Documentation

Add(const CMPXMessage *, TInt)

IMPORT_C voidAdd(const CMPXMessage *aMessage,
TIntaError
)

Adds a message into the queue and sends the message if slot is available.

Since
S60 3.2.3

Parameters

const CMPXMessage * aMessagemessage object, ownership not transferred.
TInt aErrorerror code

AddFirst(const CMPXMessage *, TInt)

IMPORT_C TIntAddFirst(const CMPXMessage *aMessage,
TIntaError
)

Adds a message into the top of the queue and sends the message if slot is available.

Since
S60 9.2

Parameters

const CMPXMessage * aMessagemessage object, ownership not transferred.
TInt aError

ConstructL()

voidConstructL()[private]

Second-phase constructor.

Since
S60 3.2.3

NewL()

IMPORT_C CMPXMessageQueue *NewL()[static]

Two-phased constructor.

Since
S60 3.2.3

Reset()

IMPORT_C voidReset()

Reset the message queue.

Since
S60 3.2.3

Send()

voidSend()[private]

Send a message to client.

Since
S60 3.2.3

SendNext(const RMessage2 &)

IMPORT_C voidSendNext(const RMessage2 &aMsgRequest)

Request to send next message.

Since
S60 3.2.3

Parameters

const RMessage2 & aMsgRequestmessage request

Member Data Documentation

TInt iFailure

TInt iFailure[private]

RMessage2 iMsgRequest

RMessage2 iMsgRequest[private]

CMPXMessageItem * iMsgSent

CMPXMessageItem *iMsgSent[private]

TSglQue< CMPXMessageItem > iMsgs

TSglQue< CMPXMessageItem >iMsgs[private]