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 void Add ( const CMPXMessage * aMessage,
TInt aError
)

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

Since
S60 3.2.3

Parameters

const CMPXMessage * aMessage message object, ownership not transferred.
TInt aError error code

AddFirst(const CMPXMessage *, TInt)

IMPORT_C TInt AddFirst ( const CMPXMessage * aMessage,
TInt aError
)

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

Since
S60 9.2

Parameters

const CMPXMessage * aMessage message object, ownership not transferred.
TInt aError

ConstructL()

void ConstructL ( ) [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 void Reset ( )

Reset the message queue.

Since
S60 3.2.3

Send()

void Send ( ) [private]

Send a message to client.

Since
S60 3.2.3

SendNext(const RMessage2 &)

IMPORT_C void SendNext ( const RMessage2 & aMsgRequest )

Request to send next message.

Since
S60 3.2.3

Parameters

const RMessage2 & aMsgRequest message 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]