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

void ClearSubscriptionsL ( )

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 & aMcnSession Open MCN session

ReadMcnMessage(TRequestStatus &, TPckg< TCbsMcnMessage > &)

void ReadMcnMessage ( 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 & aStatus Request status, indicates the result of the operation.
TPckg < TCbsMcnMessage > & aMcnPckg MCN message package, includes msg and parameters

ReadMcnMessageCancel()

TInt ReadMcnMessageCancel ( )

Cancels an outstanding request.

RegisterL(const CMcnTopicArray &)

void RegisterL ( 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 & aArray Subscribed topics.

operator=(const RMcnSubSession &)

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

Parameters

const RMcnSubSession &

Member Data Documentation

TBool iConnected

TBool iConnected [private]