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()

void ConstructL ( ) [private]

Second phase constructor

Data()

IMPORT_C TPtrC8 Data ( )

Returns pointer to message data

DataSize()

IMPORT_C TInt DataSize ( )

Returns message data size

ExternalizeHeaderL(RWriteStream &)

IMPORT_C void ExternalizeHeaderL ( RWriteStream & aStream )

Externalizes message header

Parameters

RWriteStream & aStream Write stream where message header is externalized

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream )

Externalizes message (header and data)

Parameters

RWriteStream & aStream Write stream where message is externalized

Function()

IMPORT_C TInt Function ( )

Returns IPC function

InternalizeHeaderL(RReadStream &)

IMPORT_C void InternalizeHeaderL ( RReadStream & aStream )

Internalizes message header

Parameters

RReadStream & aStream Read stream where message header is internalized

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalizes message (header and data)

Parameters

RReadStream & aStream Read stream where message is internalized

MarshalL()

IMPORT_C HBufC8 * MarshalL ( )

Marshals message to a descrptor

Message()

IMPORT_C RMessage2 Message ( )

Returns pending request

MsgId()

IMPORT_C TUint32 MsgId ( )

Returns message id

NewL()

IMPORT_C CCcSrvMsg * NewL ( ) [static]

Two-phased constructor.

Receiver()

IMPORT_C TUint32 Receiver ( )

Returns receiver of the message

Sender()

IMPORT_C TUint32 Sender ( )

Returns sender of the message

SetData(const TDesC8 &)

IMPORT_C void SetData ( const TDesC8 & aData )

Stores message data

Parameters

const TDesC8 & aData Message data

SetFunction(TInt)

IMPORT_C void SetFunction ( TInt aFunction )

Stores IPC function

Parameters

TInt aFunction IPC function

SetMessage(RMessage2 &)

IMPORT_C void SetMessage ( RMessage2 & aMessage )

Stores pending request

Parameters

RMessage2 & aMessage Pending request

SetMsgId(TUint32)

IMPORT_C void SetMsgId ( TUint32 aMsgId )

Stores message id

Parameters

TUint32 aMsgId Message id

SetReceiver(TUint32)

IMPORT_C void SetReceiver ( TUint32 )

Stores receiver of the message

Parameters

TUint32 Message receiver

SetSender(TUint32)

IMPORT_C void SetSender ( TUint32 )

Stores sender of the message

Parameters

TUint32 Message sender

SetStatus(TInt)

IMPORT_C void SetStatus ( TInt aStatus )

Stores message status

Parameters

TInt aStatus Transaction status

SetTrId(TUint32)

IMPORT_C void SetTrId ( TUint32 aTrId )

Stores transaction id

Parameters

TUint32 aTrId Transaction id

Status()

IMPORT_C TInt Status ( )

Returns message status

TrId()

IMPORT_C TUint32 TrId ( )

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