class CMceSecureInSession : public CMceInSession |
Class for mobile terminated secure MCE sessions.
CMceSecureInSession represents incoming invitation to join in a secure session.
The characteristics of the session are defined by remote terminal. Theses charactereistics are defined using SDP and are turned by MCE server into structure of media streams attached into the session. The user of this class is then responsible to either reject accept the invitation.
Accepting the invitation is executed in two steps. First after receiving the invitation the user must complete the media structure. Streams attached to the session are not complete, but they must be completed by the user. Those componens defined in SDP are put automatically into media structure (like streams and RTP sinks and sources), but other relations must be completed by user. When media structure is complete, UpdateL method is called and session establishement continues with second step.
After all media resources are succesfully negotiated and reserved, session state is changed to Proceeding, and end used can be alarmed about incoming invitation. Typically, at this state 180 Ringing response is sent to network. If end user accepts the invitation, 200 OK is sent to network and session is established.
After the session has been succesfylly established, it can be later updated and must be finally terminated.
This class is never instantiated by user, but the ownership is in any case transferred to it. See class MMceInSessionObserver.
If for any reason instance of this class is deleted while in established state, session is automatically terminated by MCE server.
mceclient.lib
Public Member Functions | |
---|---|
CMceSecureInSession(CMceManager *, TUint32) | |
~CMceSecureInSession() | |
const RArray< TMceCryptoContext > & | CryptoContexts() |
void | InitializeInSessionL(MMceComSerializationContext &, TBool) |
CMceSecureInSession * | NewL(RReadStream &, CMceManager &, TUint32, TBool) |
CMceSecureInSession * | NewL() |
void | SetCryptoContextsL(const RArray< TMceCryptoContext > &) |
const RArray< TMceCryptoContext > & | SupportedCryptoContextsL() |
TMceSessionType | Type() |
Private Member Functions | |
---|---|
void | ConstructL(const TDesC8 &, const TDesC8 &) |
Inherited Enumerations | |
---|---|
CMceSession:TControlPathSecurityLevel | |
CMceSession:TReason | |
CMceSession:TState |
Private Attributes | |
---|---|
RArray< TMceCryptoContext > | iTemp |
Inherited Attributes | |
---|---|
CMceSession::iFCObserver | |
CMceSession::iFlatData | |
CMceSession::iManager | |
CMceSession::iMediaStreams | |
CMceSession::iProfileId | |
CMceSession::iReceiver | |
CMceSession::iSender |
CMceSecureInSession | ( | CMceManager * | aManager, |
TUint32 | aProfileId | ||
) |
C++ default constructor.
CMceManager * aManager | |
TUint32 aProfileId |
void | ConstructL | ( | const TDesC8 & | aOriginator, |
const TDesC8 & | aRecipient | |||
) | [private] |
second-phase constructor
void | InitializeInSessionL | ( | MMceComSerializationContext & | aSerCtx, |
TBool | aUpdateSession | |||
) |
Two-phased constructor.
MMceComSerializationContext & aSerCtx | |
TBool aUpdateSession |
CMceSecureInSession * | NewL | ( | RReadStream & | aReadStream, |
CMceManager & | aManager, | |||
TUint32 | aProfileId, | |||
TBool | aUpdateSession = EFalse | |||
) | [static] |
Two-phased constructor.
RReadStream & aReadStream | |
CMceManager & aManager | |
TUint32 aProfileId | |
TBool aUpdateSession = EFalse |
void | SetCryptoContextsL | ( | const RArray< TMceCryptoContext > & | aArray | ) | [virtual] |
const RArray< TMceCryptoContext > & aArray |
const RArray< TMceCryptoContext > & | SupportedCryptoContextsL | ( | ) | const [virtual] |
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.