CMceCsSessionImplementation Class Reference

class CMceCsSessionImplementation : public CBase

MCE CS session implementation

Since

Inherits from

  • CMceCsSessionImplementation
Public Member Functions
~CMceCsSessionImplementation ()
CMceCsSession & ClientSession ()
void CreateSubSessionL ( TMceIds &, CDesC8Array &)
CDesC8Array & DefaultHeaders ( TInt )
HBufC8 * DefaultHeadersL ( TDesC8 &)
void DoServiceL ( TMceIds &, TInt , TPtr8 &)
void DoServiceL ( TMceIds &, TInt , const TDesC8 &)
HBufC8 * DoServiceL ( TMceIds &, TInt )
void DoServiceL ( TMceIds &, TInt , CMceMsgBase &)
void EventReceived ( TMceMccComEvent &)
const CMceCsSubSession * FindSubSession ( TUint32 )
TBool IsOrphan ()
CMceCsSessionImplementation * NewL ( CMceSipManager &, CMceCsSession *)
CMceCsSessionImplementation * NewLC ( CMceSipManager &, CMceCsSession *)
void RemoveAllSubSessions ( TBool )
void RemoveSubSessionL ( TUint32 )
void SendToClientL ( TMceIds &, HBufC8 *, HBufC8 *)
void StoreClientContent ( HBufC8 *)
void StoreDefaultHeadersL ( CDesC8Array &, CDesC8Array *)
CMceCsSubSession * SubSessionL ( TUint32 )
RPointerArray < CMceCsSubSession > & SubSessions ()
HBufC8 * SupportedAudioCodecsL ()
HBufC8 * SupportedVideoCodecsL ()
Protected Member Functions
CMceCsSessionImplementation ( CMceSipManager &, CMceCsSession &)
void ArrayCleanup ( TAny *)
void ConstructL ()
void GetFileInfoL ( TMceIds &, TMceFileInfo &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CMceSipDefaults * iDefaults
CMceCsSession * iITCProvider
CMceSipManager & iManager
RPointerArray < CMceCsSubSession > iSubSessions

Constructor & Destructor Documentation

CMceCsSessionImplementation(CMceSipManager &, CMceCsSession &)

CMceCsSessionImplementation ( CMceSipManager & aManager,
CMceCsSession & aITCProvider
) [protected]

Parameters

CMceSipManager & aManager
CMceCsSession & aITCProvider

~CMceCsSessionImplementation()

~CMceCsSessionImplementation ( )

Destructor.

Member Functions Documentation

ArrayCleanup(TAny *)

void ArrayCleanup ( TAny * aArray ) [protected, static]

Parameters

TAny * aArray

ClientSession()

CMceCsSession & ClientSession ( )

Returns reference to CS session

ConstructL()

void ConstructL ( ) [protected]

CreateSubSessionL(TMceIds &, CDesC8Array &)

void CreateSubSessionL ( TMceIds & aIds,
CDesC8Array & aParams
)

Creates sub session

Parameters

TMceIds & aIds set of ids defining ITC call context
CDesC8Array & aParams parameters for creation

DefaultHeaders(TInt)

CDesC8Array & DefaultHeaders ( TInt aMethodInd )

Returns the default headers for the given method

Parameters

TInt aMethodInd the method index in SIP Strings

DefaultHeadersL(TDesC8 &)

HBufC8 * DefaultHeadersL ( TDesC8 & aMethod )

Returns the encoded default headers for the given method

Parameters

TDesC8 & aMethod the method

DoServiceL(TMceIds &, TInt, TPtr8 &)

void DoServiceL ( TMceIds & aIds,
TInt aFunction,
TPtr8 & aInfo
)

Parameters

TMceIds & aIds
TInt aFunction
TPtr8 & aInfo

DoServiceL(TMceIds &, TInt, const TDesC8 &)

void DoServiceL ( TMceIds & aIds,
TInt aFunction,
const TDesC8 & aInfo
)

Parameters

TMceIds & aIds
TInt aFunction
const TDesC8 & aInfo

DoServiceL(TMceIds &, TInt)

HBufC8 * DoServiceL ( TMceIds & aIds,
TInt aFunction
)

Parameters

TMceIds & aIds
TInt aFunction

DoServiceL(TMceIds &, TInt, CMceMsgBase &)

void DoServiceL ( TMceIds & aIds,
TInt aFunction,
CMceMsgBase & aMessage
)

Parameters

TMceIds & aIds
TInt aFunction
CMceMsgBase & aMessage

EventReceived(TMceMccComEvent &)

void EventReceived ( TMceMccComEvent & aEvent )

Callback function to indicate that event has been received

Parameters

TMceMccComEvent & aEvent

FindSubSession(TUint32)

const CMceCsSubSession * FindSubSession ( TUint32 aDialogId )

Finds sub session based on dialog id

Parameters

TUint32 aDialogId dialog id

GetFileInfoL(TMceIds &, TMceFileInfo &)

void GetFileInfoL ( TMceIds & aIds,
TMceFileInfo & aFileInfo
) [protected]

Parameters

TMceIds & aIds
TMceFileInfo & aFileInfo

IsOrphan()

TBool IsOrphan ( )

Returns ETrue, if session implementation is orphan

NewL(CMceSipManager &, CMceCsSession *)

CMceCsSessionImplementation * NewL ( CMceSipManager & aManager,
CMceCsSession * aITCProvider
) [static]

Two-phased constructor.

Parameters

CMceSipManager & aManager SIP manager
CMceCsSession * aITCProvider provides ITC functionality. Ownership is NOT transferred

NewLC(CMceSipManager &, CMceCsSession *)

CMceCsSessionImplementation * NewLC ( CMceSipManager & aManager,
CMceCsSession * aITCProvider
) [static]

Two-phased constructor.

Parameters

CMceSipManager & aManager SIP manager
CMceCsSession * aITCProvider provides ITC functionality. Ownership is NOT transferred

RemoveAllSubSessions(TBool)

void RemoveAllSubSessions ( TBool aMakeOrphan = ETrue )

Removes all subsession

Parameters

TBool aMakeOrphan = ETrue if ETrue, makes subsession orphan, if session do not terminate

RemoveSubSessionL(TUint32)

void RemoveSubSessionL ( TUint32 aSessionId )

Removes sub session

Parameters

TUint32 aSessionId aSessionID

SendToClientL(TMceIds &, HBufC8 *, HBufC8 *)

void SendToClientL ( TMceIds & aIds,
HBufC8 * aContext,
HBufC8 * aContent
)

Sends data via callback mechanism to client

Parameters

TMceIds & aIds set of ids defining ITC callback context
HBufC8 * aContext encoded context of message
HBufC8 * aContent content of message

StoreClientContent(HBufC8 *)

void StoreClientContent ( HBufC8 * aClientContent )

Parameters

HBufC8 * aClientContent

StoreDefaultHeadersL(CDesC8Array &, CDesC8Array *)

void StoreDefaultHeadersL ( CDesC8Array & aMethods,
CDesC8Array * aHeaders
)

Stores default headers for given methods.

Parameters

CDesC8Array & aMethods
CDesC8Array * aHeaders the default headers

SubSessionL(TUint32)

CMceCsSubSession * SubSessionL ( TUint32 aSessionId )

Finds sub session based on session id

Parameters

TUint32 aSessionId session id

SubSessions()

RPointerArray < CMceCsSubSession > & SubSessions ( )

Gets all sub sessions

SupportedAudioCodecsL()

HBufC8 * SupportedAudioCodecsL ( )

Returns supported audio codecs

SupportedVideoCodecsL()

HBufC8 * SupportedVideoCodecsL ( )

Returns supported video codecs

Member Data Documentation

CMceSipDefaults * iDefaults

CMceSipDefaults * iDefaults [private]

CMceCsSession * iITCProvider

CMceCsSession * iITCProvider [private]

CMceSipManager & iManager

CMceSipManager & iManager [private]

RPointerArray< CMceCsSubSession > iSubSessions

RPointerArray < CMceCsSubSession > iSubSessions [private]