CMceCsSessionImplementation Class Reference

class CMceCsSessionImplementation : public CBase

MCE CS session implementation

Since

Inherits from

  • CMceCsSessionImplementation
Public Member Functions
~CMceCsSessionImplementation()
CMceCsSession &ClientSession()
voidCreateSubSessionL(TMceIds &, CDesC8Array &)
CDesC8Array &DefaultHeaders(TInt)
HBufC8 *DefaultHeadersL(TDesC8 &)
voidDoServiceL(TMceIds &, TInt, TPtr8 &)
voidDoServiceL(TMceIds &, TInt, const TDesC8 &)
HBufC8 *DoServiceL(TMceIds &, TInt)
voidDoServiceL(TMceIds &, TInt, CMceMsgBase &)
voidEventReceived(TMceMccComEvent &)
const CMceCsSubSession *FindSubSession(TUint32)
TBool IsOrphan()
CMceCsSessionImplementation *NewL(CMceSipManager &, CMceCsSession *)
CMceCsSessionImplementation *NewLC(CMceSipManager &, CMceCsSession *)
voidRemoveAllSubSessions(TBool)
voidRemoveSubSessionL(TUint32)
voidSendToClientL(TMceIds &, HBufC8 *, HBufC8 *)
voidStoreClientContent(HBufC8 *)
voidStoreDefaultHeadersL(CDesC8Array &, CDesC8Array *)
CMceCsSubSession *SubSessionL(TUint32)
RPointerArray< CMceCsSubSession > &SubSessions()
HBufC8 *SupportedAudioCodecsL()
HBufC8 *SupportedVideoCodecsL()
Protected Member Functions
CMceCsSessionImplementation(CMceSipManager &, CMceCsSession &)
voidArrayCleanup(TAny *)
voidConstructL()
voidGetFileInfoL(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 *)

voidArrayCleanup(TAny *aArray)[protected, static]

Parameters

TAny * aArray

ClientSession()

CMceCsSession &ClientSession()

Returns reference to CS session

ConstructL()

voidConstructL()[protected]

CreateSubSessionL(TMceIds &, CDesC8Array &)

voidCreateSubSessionL(TMceIds &aIds,
CDesC8Array &aParams
)

Creates sub session

Parameters

TMceIds & aIdsset of ids defining ITC call context
CDesC8Array & aParamsparameters for creation

DefaultHeaders(TInt)

CDesC8Array &DefaultHeaders(TIntaMethodInd)

Returns the default headers for the given method

Parameters

TInt aMethodIndthe method index in SIP Strings

DefaultHeadersL(TDesC8 &)

HBufC8 *DefaultHeadersL(TDesC8 &aMethod)

Returns the encoded default headers for the given method

Parameters

TDesC8 & aMethodthe method

DoServiceL(TMceIds &, TInt, TPtr8 &)

voidDoServiceL(TMceIds &aIds,
TIntaFunction,
TPtr8 &aInfo
)

Parameters

TMceIds & aIds
TInt aFunction
TPtr8 & aInfo

DoServiceL(TMceIds &, TInt, const TDesC8 &)

voidDoServiceL(TMceIds &aIds,
TIntaFunction,
const TDesC8 &aInfo
)

Parameters

TMceIds & aIds
TInt aFunction
const TDesC8 & aInfo

DoServiceL(TMceIds &, TInt)

HBufC8 *DoServiceL(TMceIds &aIds,
TIntaFunction
)

Parameters

TMceIds & aIds
TInt aFunction

DoServiceL(TMceIds &, TInt, CMceMsgBase &)

voidDoServiceL(TMceIds &aIds,
TIntaFunction,
CMceMsgBase &aMessage
)

Parameters

TMceIds & aIds
TInt aFunction
CMceMsgBase & aMessage

EventReceived(TMceMccComEvent &)

voidEventReceived(TMceMccComEvent &aEvent)

Callback function to indicate that event has been received

Parameters

TMceMccComEvent & aEvent

FindSubSession(TUint32)

const CMceCsSubSession *FindSubSession(TUint32aDialogId)

Finds sub session based on dialog id

Parameters

TUint32 aDialogIddialog id

GetFileInfoL(TMceIds &, TMceFileInfo &)

voidGetFileInfoL(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 & aManagerSIP manager
CMceCsSession * aITCProviderprovides ITC functionality. Ownership is NOT transferred

NewLC(CMceSipManager &, CMceCsSession *)

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

Two-phased constructor.

Parameters

CMceSipManager & aManagerSIP manager
CMceCsSession * aITCProviderprovides ITC functionality. Ownership is NOT transferred

RemoveAllSubSessions(TBool)

voidRemoveAllSubSessions(TBoolaMakeOrphan = ETrue)

Removes all subsession

Parameters

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

RemoveSubSessionL(TUint32)

voidRemoveSubSessionL(TUint32aSessionId)

Removes sub session

Parameters

TUint32 aSessionIdaSessionID

SendToClientL(TMceIds &, HBufC8 *, HBufC8 *)

voidSendToClientL(TMceIds &aIds,
HBufC8 *aContext,
HBufC8 *aContent
)

Sends data via callback mechanism to client

Parameters

TMceIds & aIdsset of ids defining ITC callback context
HBufC8 * aContextencoded context of message
HBufC8 * aContentcontent of message

StoreClientContent(HBufC8 *)

voidStoreClientContent(HBufC8 *aClientContent)

Parameters

HBufC8 * aClientContent

StoreDefaultHeadersL(CDesC8Array &, CDesC8Array *)

voidStoreDefaultHeadersL(CDesC8Array &aMethods,
CDesC8Array *aHeaders
)

Stores default headers for given methods.

Parameters

CDesC8Array & aMethods
CDesC8Array * aHeadersthe default headers

SubSessionL(TUint32)

CMceCsSubSession *SubSessionL(TUint32aSessionId)

Finds sub session based on session id

Parameters

TUint32 aSessionIdsession 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]