CCcSrvMsg Class Reference

class CCcSrvMsg : public CBase

Content control server message


			
ccsrvapi.lib
Since
S60 v5.0

Inherits from

Constructor & Destructor Documentation

CCcSrvMsg()

CCcSrvMsg()[private]

Constructor

~CCcSrvMsg()

~CCcSrvMsg()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase constructor

Data()

IMPORT_C TPtrC8Data()

Returns pointer to message data

DataSize()

IMPORT_C TIntDataSize()

Returns message data size

ExternalizeHeaderL(RWriteStream &)

IMPORT_C voidExternalizeHeaderL(RWriteStream &aStream)

Externalizes message header

Parameters

RWriteStream & aStreamWrite stream where message header is externalized

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)

Externalizes message (header and data)

Parameters

RWriteStream & aStreamWrite stream where message is externalized

Function()

IMPORT_C TIntFunction()

Returns IPC function

InternalizeHeaderL(RReadStream &)

IMPORT_C voidInternalizeHeaderL(RReadStream &aStream)

Internalizes message header

Parameters

RReadStream & aStreamRead stream where message header is internalized

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalizes message (header and data)

Parameters

RReadStream & aStreamRead stream where message is internalized

MarshalL()

IMPORT_C HBufC8 *MarshalL()

Marshals message to a descrptor

Message()

IMPORT_C RMessage2Message()

Returns pending request

MsgId()

IMPORT_C TUint32MsgId()

Returns message id

NewL()

IMPORT_C CCcSrvMsg *NewL()[static]

Two-phased constructor.

Receiver()

IMPORT_C TUint32Receiver()

Returns receiver of the message

Sender()

IMPORT_C TUint32Sender()

Returns sender of the message

SetData(const TDesC8 &)

IMPORT_C voidSetData(const TDesC8 &aData)

Stores message data

Parameters

const TDesC8 & aDataMessage data

SetFunction(TInt)

IMPORT_C voidSetFunction(TIntaFunction)

Stores IPC function

Parameters

TInt aFunctionIPC function

SetMessage(RMessage2 &)

IMPORT_C voidSetMessage(RMessage2 &aMessage)

Stores pending request

Parameters

RMessage2 & aMessagePending request

SetMsgId(TUint32)

IMPORT_C voidSetMsgId(TUint32aMsgId)

Stores message id

Parameters

TUint32 aMsgIdMessage id

SetReceiver(TUint32)

IMPORT_C voidSetReceiver(TUint32)

Stores receiver of the message

Parameters

TUint32 Message receiver

SetSender(TUint32)

IMPORT_C voidSetSender(TUint32)

Stores sender of the message

Parameters

TUint32 Message sender

SetStatus(TInt)

IMPORT_C voidSetStatus(TIntaStatus)

Stores message status

Parameters

TInt aStatusTransaction status

SetTrId(TUint32)

IMPORT_C voidSetTrId(TUint32aTrId)

Stores transaction id

Parameters

TUint32 aTrIdTransaction id

Status()

IMPORT_C TIntStatus()

Returns message status

TrId()

IMPORT_C TUint32TrId()

Returns transaction id

Member Data Documentation

HBufC8 * iData

HBufC8 *iData[private]

Data

TInt iDataSize

TInt iDataSize[private]

Data size

TInt iFunction

TInt iFunction[private]

IPC function

RMessage2 iMessage

RMessage2 iMessage[private]

Pending request

TUint32 iMsgId

TUint32 iMsgId[private]

Message id

TUint32 iReceiver

TUint32 iReceiver[private]

Receiver

TUint32 iSender

TUint32 iSender[private]

Sender

TInt iStatus

TInt iStatus[private]

Operation status

TUint32 iTrId

TUint32 iTrId[private]

Transaction id