RMcnSubSession Class Reference

class RMcnSubSession : public RSubSessionBase

This class represents a MCN session with CBS server.

Inherits from

Constructor & Destructor Documentation

RMcnSubSession()

RMcnSubSession()

Constructor.

RMcnSubSession(const RMcnSubSession &)

RMcnSubSession(const RMcnSubSession &)[private]

Parameters

const RMcnSubSession &

~RMcnSubSession()

~RMcnSubSession()

Destructor.

Member Functions Documentation

ClearSubscriptionsL()

voidClearSubscriptionsL()

Clears topic subscriptions of this session in CbsServer

Leaves if server reports any error.

Close()

TInt Close()

Closes the subsession.

Open(RCbsMcnSession &)

TInt Open(RCbsMcnSession &aMcnSession)

Creates a MCN subsession to CbsServer.

Parameters

RCbsMcnSession & aMcnSessionOpen MCN session

ReadMcnMessage(TRequestStatus &, TPckg< TCbsMcnMessage > &)

voidReadMcnMessage(TRequestStatus &aStatus,
TPckg< TCbsMcnMessage > &aMcnPckg
)

Request next subscribed MCN message to be delivered to this session.

The delivered message will be copied into aBuffer.

Parameters

TRequestStatus & aStatusRequest status, indicates the result of the operation.
TPckg< TCbsMcnMessage > & aMcnPckgMCN message package, includes msg and parameters

ReadMcnMessageCancel()

TInt ReadMcnMessageCancel()

Cancels an outstanding request.

RegisterL(const CMcnTopicArray &)

voidRegisterL(const CMcnTopicArray &aArray)

Subscribes topics given in aArray.

Leave reasons: KErrNoMemory Client- or server-side out-of-memory. Others Leave occured while accessing EPOC Telephony Sever. In this case, the leave reason from EPOC Telephony Sever is returned here.

Parameters

const CMcnTopicArray & aArraySubscribed topics.

operator=(const RMcnSubSession &)

RMcnSubSession &operator=(const RMcnSubSession &)[private]

Parameters

const RMcnSubSession &

Member Data Documentation

TBool iConnected

TBool iConnected[private]