CVccPerformer Class Reference
class CVccPerformer : public CBase
|
The class acts as a proxy forward the CCE. It forwards the call to the actual MCCP interface implementation and initiates new call if instructed to do the handover.
vccperformer.dll
-
Since
-
S60 3.2
Public Member Functions
|
|
~CVccPerformer
()
|
void
|
ActivateTrigger
(
TBool
)
|
void
|
AddObserverL
(const
MCCPCallObserver
&)
|
void
|
AllowHo
(
TBool
)
|
void
|
AllowHoL
(
TBool
)
|
TInt
|
Answer
()
|
void
|
CallCapsChanged
(const
TUint32
,
MCCPCall
*)
|
void
|
CallEventOccurred
(const
MCCPCallObserver::TCCPCallEvent
,
MCCPCall
*)
|
MCCPCallObserver
*
|
CallObserver
()
|
void
|
CallStateChanged
(const
MCCPCallObserver::TCCPCallState
,
MCCPCall
*)
|
void
|
CallStateChangedWithInband
(const
MCCPCallObserver::TCCPCallState
,
MCCPCall
*)
|
TInt
|
Cancel
()
|
MCCPCallObserver::TCCPCallControlCaps
|
Caps
()
|
void
|
ConferenceEnded
()
|
MCCPCall
*
|
CreatePrimaryCallL
(const
CCCPCallParameters
&, const
TDesC
&, const
MCCPCallObserver
&)
|
void
|
CreateSecondaryCallL
(const
CCCPCallParameters
&, const
TDesC
&, const
MCCPCallObserver
&)
|
CConvergedCallProvider
&
|
CsProvider
()
|
TInt
|
Dial
()
|
TInt
|
Dial
(const
TDesC8
&)
|
const
TDesC
&
|
DialledParty
()
|
void
|
ErrorOccurred
(const
TCCPError
,
MCCPCall
*)
|
MCCPForwardProvider *
|
ForwardProviderL
(const MCCPForwardObserver &)
|
TInt
|
GetMobileCallInfo
(
TDes8
&)
|
TInt
|
GetMobileDataCallCaps
(
TDes8
&)
|
void
|
HandoverReady
()
|
TInt
|
HangUp
()
|
TInt
|
Hold
()
|
MCCPCall
*
|
IncomingCall
(
MCCPCall
*)
|
TBool
|
IsCallForwarded
()
|
TBool
|
IsMobileOriginated
()
|
TBool
|
IsSecured
()
|
TBool
|
LogDialedNumber
()
|
MCCPCall
*
|
MoCall
(
MCCPCall
*)
|
CVccPerformer
*
|
NewL
(
RPointerArray
<
CConvergedCallProvider
> &,
TVccState
&,
CVccHoTrigger
&,
TBool
)
|
void
|
NoFDNCheck
()
|
CVccEngPsProperty
&
|
Notifier
()
|
const
CCCPCallParameters
&
|
Parameters
()
|
MCCPCall
*
|
PrimaryCall
()
|
CConvergedCallProvider
&
|
PsProvider
()
|
TInt
|
Queue
()
|
TInt
|
Reject
()
|
TInt
|
ReleaseCall
(
MCCPCall
&)
|
void
|
ReleaseSecondaryCallLeg
()
|
const
TDesC
&
|
RemoteParty
()
|
const
TDesC
&
|
RemotePartyName
()
|
TInt
|
RemoveObserver
(const
MCCPCallObserver
&)
|
TInt
|
Resume
()
|
TInt
|
Ringing
()
|
MCCPCall
*
|
SecondaryCall
()
|
TBool
|
SecureSpecified
()
|
void
|
SetCall
(
MCCPCall
*)
|
void
|
SetCallL
(
MCCPCall
*)
|
void
|
SetParameters
(const
CCCPCallParameters
&)
|
void
|
SetRemoteParties
()
|
void
|
SetState
(
TVccState
&)
|
MCCPCallObserver::TCCPCallState
|
State
()
|
TUint
|
StateName
()
|
TInt
|
Swap
()
|
TInt
|
SwitchAlternatingCall
()
|
void
|
SwitchL
(const
TInt
)
|
TCCPTone
|
Tone
()
|
MCCPTransferProvider *
|
TransferProviderL
(const MCCPTransferObserver &)
|
TUid
|
Uid
()
|
TInt
|
VoipProviderIndex
(
TBool
)
|
Constructor & Destructor Documentation
CVccPerformer(RPointerArray< CConvergedCallProvider > &, TVccState &, CVccHoTrigger &, TBool)
Member Functions Documentation
ActivateTrigger(TBool)
void
|
ActivateTrigger
|
(
|
TBool
|
aActivation
|
)
|
|
Activates the trigger if call is connected, stops otherwise
-
Since
-
Series60 3.2
Parameters
TBool
aActivation
|
activate or deactivate trigger
|
AddObserverL(const MCCPCallObserver &)
AllowHo(TBool)
void
|
AllowHo
|
(
|
TBool
|
aAllow
|
)
|
|
PS key is updated via this method, so that UI item is removed from in call Options menu when needed
-
Since
-
Series60 3.2
Parameters
TBool
aAllow
|
to show or hide HO option in menu
|
AllowHoL(TBool)
void
|
AllowHoL
|
(
|
TBool
|
aAllow
|
)
|
|
PS key is updated via this method, so that UI item is removed from in call Options menu when needed
-
Since
-
Series60 3.2
-
leave
-
with system wide error if fails
Parameters
TBool
aAllow
|
to show or hide HO option in menu
|
CallCapsChanged(const TUint32, MCCPCall *)
CallEventOccurred(const MCCPCallObserver::TCCPCallEvent, MCCPCall *)
CallObserver()
Gets the observer for the call events
-
Since
-
Series60 3.2
CallStateChanged(const MCCPCallObserver::TCCPCallState, MCCPCall *)
CallStateChangedWithInband(const MCCPCallObserver::TCCPCallState, MCCPCall *)
ConferenceEnded()
Checks own state after conference and starts trigger if state is connected.
-
Since
-
Series60 3.2
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
CreatePrimaryCallL(const CCCPCallParameters &, const TDesC &, const MCCPCallObserver &)
Makes run-time decision what technology to use for the call
-
Since
-
Series60 3.2
CreateSecondaryCallL(const CCCPCallParameters &, const TDesC &, const MCCPCallObserver &)
Creates an implementation for making handover
-
Since
-
Series60 3.2
CsProvider()
returns cs provider
-
Since
-
Series60 3.2
DialledParty()
const
TDesC
&
|
DialledParty
|
(
|
)
|
const
|
ErrorOccurred(const TCCPError, MCCPCall *)
ForwardProviderL(const MCCPForwardObserver &)
MCCPForwardProvider *
|
ForwardProviderL
|
(
|
const MCCPForwardObserver &
|
aObserver
|
)
|
|
Parameters
const MCCPForwardObserver & aObserver
|
|
GetMobileCallInfo(TDes8 &)
TInt
|
GetMobileCallInfo
|
(
|
TDes8
&
|
aCallInfo
|
)
|
const
|
GetMobileDataCallCaps(TDes8 &)
TInt
|
GetMobileDataCallCaps
|
(
|
TDes8
&
|
aCaps
|
)
|
const
|
HandoverReady()
Informat that the domain has been changed.
-
Since
-
Series60 3.2
IncomingCall(MCCPCall *)
handles incoming call
-
Since
-
Series60 3.2
Parameters
MCCPCall
* aCall
|
Reference to call object
|
IsCallForwarded()
TBool
|
IsCallForwarded
|
(
|
)
|
const
|
IsMobileOriginated()
TBool
|
IsMobileOriginated
|
(
|
)
|
const
|
IsSecured()
TBool
|
IsSecured
|
(
|
)
|
const
|
LogDialedNumber()
TBool
|
LogDialedNumber
|
(
|
)
|
const
|
MoCall(MCCPCall *)
handles 3rd party mo call
-
Since
-
Series60 3.2
Parameters
MCCPCall
* aCall
|
Reference to call object
|
NewL(RPointerArray< CConvergedCallProvider > &, TVccState &, CVccHoTrigger &, TBool)
Notifier()
Gets the notifier
-
Since
-
Series60 3.2
ParseRemoteParty()
void
|
ParseRemoteParty
|
(
|
)
|
[private]
|
Removes SIP-uri from remoteparty number if call is VoIP call
PrimaryCall()
Gets the actual implementation of the active call
-
Since
-
Series60 3.2
PsProvider()
returns ps provider
-
Since
-
Series60 3.2
ReleaseCall(MCCPCall &)
Releases call
-
Since
-
Series60 3.2
ReleaseSecondaryCallLeg()
void
|
ReleaseSecondaryCallLeg
|
(
|
)
|
|
Release secondary call leg, if needed, before calling destructor.
-
Since
-
Series60 3.2
RemoteParty()
const
TDesC
&
|
RemoteParty
|
(
|
)
|
const
|
RemotePartyName()
const
TDesC
&
|
RemotePartyName
|
(
|
)
|
|
RemoveObserver(const MCCPCallObserver &)
SecondaryCall()
Returns created local implementation
-
Since
-
Series60 3.2
SecureSpecified()
TBool
|
SecureSpecified
|
(
|
)
|
const
|
SetCall(MCCPCall *)
Changing the call object
-
Since
-
Series60 3.2
Parameters
MCCPCall
* aCall
|
Reference to a new call object
|
SetCallL(MCCPCall *)
Changing the call object
-
Since
-
Series60 3.2
Parameters
MCCPCall
* aCall
|
Reference to a new call object leaves with system error code
|
SetParameters(const CCCPCallParameters &)
SetRemoteParties()
void
|
SetRemoteParties
|
(
|
)
|
|
Save original RemoteParty and RemotePartyName, so that call bubble stays intact also after handover
SetState(TVccState &)
Updates the current state with the next state
-
Since
-
Series60 3.2
Parameters
TVccState
& aState
|
reference to a new call state
|
StateName()
TUint
|
StateName
|
(
|
)
|
const
|
Returns current state name
-
Since
-
Series60 3.2
SwitchAlternatingCall()
TInt
|
SwitchAlternatingCall
|
(
|
)
|
|
SwitchL(const TInt)
void
|
SwitchL
|
(
|
const
TInt
|
aValue
|
)
|
|
Starts Handover procedure
-
Since
-
S60 3.2
Parameters
const
TInt
aValue
|
Type and direction of the possible HO
|
TransferProviderL(const MCCPTransferObserver &)
MCCPTransferProvider *
|
TransferProviderL
|
(
|
const MCCPTransferObserver &
|
aObserver
|
)
|
|
Parameters
const MCCPTransferObserver & aObserver
|
|
VoipProviderIndex(TBool)
TInt
|
VoipProviderIndex
|
(
|
TBool
|
aVoipIndexWanted
|
)
|
|
Finds provider index number from array
Member Data Documentation
MCCPCallObserver * iCallObs
remembering the call observer because it needs to change Not own
TBool
iCsOriginated
TBool
|
iCsOriginated
|
[private]
|
Originating domain of the call
TVccState * iCurrentState
current state in case of the hand-over Own
TBuf< 100 > iOrigRemoteParty
TBuf
< 100 >
|
iOrigRemoteParty
|
[private]
|
TBuf< 100 > iOrigRemotePartyName
TBuf
< 100 >
|
iOrigRemotePartyName
|
[private]
|
For storing the remote party information
MCCPCall * iPrimaryCall
actual call implementation, can be changed run-time Own
RPointerArray< CConvergedCallProvider > & iProviders
Call provider array Not own
TBool
iRemotePartiesSet
TBool
|
iRemotePartiesSet
|
[private]
|
MCCPCall * iSecondaryCall
actual call implementation, created to perfome a handover Own
CVccTransferProvider * iTransferProvider
CVccTransferProvider *
|
iTransferProvider
|
[private]
|
Transfer provider for handling call transfer Own
CVccHoTrigger & iVccHoTrigger
trigger for initiating automatic HOs Not own
CVccEngPsProperty * iVccPsp
for informing the states Own
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.