CMceCsSessionImplementation Class Reference
class CMceCsSessionImplementation : public CBase
|
MCE CS session implementation
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
()
|
Constructor & Destructor Documentation
CMceCsSessionImplementation(CMceSipManager &, CMceCsSession &)
CMceCsSessionImplementation
|
(
|
CMceSipManager
&
|
aManager,
|
|
CMceCsSession
&
|
aITCProvider
|
|
)
|
[protected]
|
~CMceCsSessionImplementation()
~CMceCsSessionImplementation
|
(
|
)
|
|
Member Functions Documentation
ArrayCleanup(TAny *)
void
|
ArrayCleanup
|
(
|
TAny
*
|
aArray
|
)
|
[protected, static]
|
ClientSession()
Returns reference to CS session
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
CreateSubSessionL(TMceIds &, CDesC8Array &)
Parameters
TMceIds
& aIds
|
set of ids defining ITC call context
|
CDesC8Array
& aParams
|
parameters for creation
|
DefaultHeaders(TInt)
Returns the default headers for the given method
Parameters
TInt
aMethodInd
|
the method index in SIP Strings
|
DefaultHeadersL(TDesC8 &)
Returns the encoded default headers for the given method
DoServiceL(TMceIds &, TInt, TPtr8 &)
DoServiceL(TMceIds &, TInt, const TDesC8 &)
DoServiceL(TMceIds &, TInt)
DoServiceL(TMceIds &, TInt, CMceMsgBase &)
EventReceived(TMceMccComEvent &)
Callback function to indicate that event has been received
FindSubSession(TUint32)
Finds sub session based on dialog id
GetFileInfoL(TMceIds &, TMceFileInfo &)
void
|
GetFileInfoL
|
(
|
TMceIds
&
|
aIds,
|
|
TMceFileInfo
&
|
aFileInfo
|
|
)
|
[protected]
|
Parameters
TMceIds
& aIds
|
|
TMceFileInfo
& aFileInfo
|
|
IsOrphan()
Returns ETrue, if session implementation is orphan
NewL(CMceSipManager &, CMceCsSession *)
Parameters
CMceSipManager
& aManager
|
SIP manager
|
CMceCsSession
* aITCProvider
|
provides ITC functionality. Ownership is NOT transferred
|
NewLC(CMceSipManager &, CMceCsSession *)
Parameters
CMceSipManager
& aManager
|
SIP manager
|
CMceCsSession
* aITCProvider
|
provides ITC functionality. Ownership is NOT transferred
|
RemoveAllSubSessions(TBool)
void
|
RemoveAllSubSessions
|
(
|
TBool
|
aMakeOrphan = ETrue
|
)
|
|
Parameters
TBool
aMakeOrphan = ETrue
|
if ETrue, makes subsession orphan, if session do not terminate
|
RemoveSubSessionL(TUint32)
void
|
RemoveSubSessionL
|
(
|
TUint32
|
aSessionId
|
)
|
|
SendToClientL(TMceIds &, HBufC8 *, HBufC8 *)
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
|
)
|
|
StoreDefaultHeadersL(CDesC8Array &, CDesC8Array *)
Stores default headers for given methods.
SubSessionL(TUint32)
Finds sub session based on session id
SupportedAudioCodecsL()
HBufC8
*
|
SupportedAudioCodecsL
|
(
|
)
|
|
Returns supported audio codecs
SupportedVideoCodecsL()
HBufC8
*
|
SupportedVideoCodecsL
|
(
|
)
|
|
Returns supported video codecs
Member Data Documentation
CMceSipDefaults * iDefaults
CMceCsSession * iITCProvider
CMceSipManager & iManager
CMceSipManager
&
|
iManager
|
[private]
|
RPointerArray< CMceCsSubSession > iSubSessions
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.