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

Inherits from

Public Member Functions
~CVccPerformer()
voidActivateTrigger(TBool)
voidAddObserverL(const MCCPCallObserver &)
voidAllowHo(TBool)
voidAllowHoL(TBool)
TInt Answer()
voidCallCapsChanged(const TUint32, MCCPCall *)
voidCallEventOccurred(const MCCPCallObserver::TCCPCallEvent, MCCPCall *)
MCCPCallObserver *CallObserver()
voidCallStateChanged(const MCCPCallObserver::TCCPCallState, MCCPCall *)
voidCallStateChangedWithInband(const MCCPCallObserver::TCCPCallState, MCCPCall *)
TInt Cancel()
MCCPCallObserver::TCCPCallControlCaps Caps()
voidConferenceEnded()
MCCPCall *CreatePrimaryCallL(const CCCPCallParameters &, const TDesC &, const MCCPCallObserver &)
voidCreateSecondaryCallL(const CCCPCallParameters &, const TDesC &, const MCCPCallObserver &)
CConvergedCallProvider &CsProvider()
TInt Dial()
TInt Dial(const TDesC8 &)
const TDesC &DialledParty()
voidErrorOccurred(const TCCPError, MCCPCall *)
MCCPForwardProvider *ForwardProviderL(const MCCPForwardObserver &)
TInt GetMobileCallInfo(TDes8 &)
TInt GetMobileDataCallCaps(TDes8 &)
voidHandoverReady()
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)
voidNoFDNCheck()
CVccEngPsProperty &Notifier()
const CCCPCallParameters &Parameters()
MCCPCall *PrimaryCall()
CConvergedCallProvider &PsProvider()
TInt Queue()
TInt Reject()
TInt ReleaseCall(MCCPCall &)
voidReleaseSecondaryCallLeg()
const TDesC &RemoteParty()
const TDesC &RemotePartyName()
TInt RemoveObserver(const MCCPCallObserver &)
TInt Resume()
TInt Ringing()
MCCPCall *SecondaryCall()
TBool SecureSpecified()
voidSetCall(MCCPCall *)
voidSetCallL(MCCPCall *)
voidSetParameters(const CCCPCallParameters &)
voidSetRemoteParties()
voidSetState(TVccState &)
MCCPCallObserver::TCCPCallState State()
TUint StateName()
TInt Swap()
TInt SwitchAlternatingCall()
voidSwitchL(const TInt)
TCCPTone Tone()
MCCPTransferProvider *TransferProviderL(const MCCPTransferObserver &)
TUid Uid()
TInt VoipProviderIndex(TBool)
Private Member Functions
CVccPerformer(RPointerArray< CConvergedCallProvider > &, TVccState &, CVccHoTrigger &, TBool)
voidConstructL()
voidParseRemoteParty()
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
MCCPCallObserver *iCallObs
TBool iCsOriginated
TVccState *iCurrentState
TBuf< 100 >iOrigRemoteParty
TBuf< 100 >iOrigRemotePartyName
MCCPCall *iPrimaryCall
RPointerArray< CConvergedCallProvider > &iProviders
TBool iRemotePartiesSet
MCCPCall *iSecondaryCall
CVccTransferProvider *iTransferProvider
CVccHoTrigger &iVccHoTrigger
CVccEngPsProperty *iVccPsp

Constructor & Destructor Documentation

CVccPerformer(RPointerArray< CConvergedCallProvider > &, TVccState &, CVccHoTrigger &, TBool)

CVccPerformer(RPointerArray< CConvergedCallProvider > &aProviders,
TVccState &aState,
CVccHoTrigger &aVccHoTrigger,
TBoolaCsOriginated
)[private]

constructor.

Parameters

RPointerArray< CConvergedCallProvider > & aProviders
TVccState & aState
CVccHoTrigger & aVccHoTrigger
TBool aCsOriginated

~CVccPerformer()

~CVccPerformer()

Member Functions Documentation

ActivateTrigger(TBool)

voidActivateTrigger(TBoolaActivation)
Activates the trigger if call is connected, stops otherwise
Since
Series60 3.2

Parameters

TBool aActivationactivate or deactivate trigger

AddObserverL(const MCCPCallObserver &)

voidAddObserverL(const MCCPCallObserver &aObserver)

Parameters

const MCCPCallObserver & aObserver

AllowHo(TBool)

voidAllowHo(TBoolaAllow)
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 aAllowto show or hide HO option in menu

AllowHoL(TBool)

voidAllowHoL(TBoolaAllow)
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 aAllowto show or hide HO option in menu

Answer()

TInt Answer()

CallCapsChanged(const TUint32, MCCPCall *)

voidCallCapsChanged(const TUint32aCapsFlags,
MCCPCall *aCall
)

Parameters

const TUint32 aCapsFlags
MCCPCall * aCall

CallEventOccurred(const MCCPCallObserver::TCCPCallEvent, MCCPCall *)

voidCallEventOccurred(const MCCPCallObserver::TCCPCallEventaEvent,
MCCPCall *aCall
)

Parameters

const MCCPCallObserver::TCCPCallEvent aEvent
MCCPCall * aCall

CallObserver()

MCCPCallObserver *CallObserver()
Gets the observer for the call events
Since
Series60 3.2

CallStateChanged(const MCCPCallObserver::TCCPCallState, MCCPCall *)

voidCallStateChanged(const MCCPCallObserver::TCCPCallStateaState,
MCCPCall *aCall
)

Parameters

const MCCPCallObserver::TCCPCallState aState
MCCPCall * aCall

CallStateChangedWithInband(const MCCPCallObserver::TCCPCallState, MCCPCall *)

voidCallStateChangedWithInband(const MCCPCallObserver::TCCPCallStateaState,
MCCPCall *aCall
)

Parameters

const MCCPCallObserver::TCCPCallState aState
MCCPCall * aCall

Cancel()

TInt Cancel()

ConferenceEnded()

voidConferenceEnded()
Checks own state after conference and starts trigger if state is connected.
Since
Series60 3.2

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

CreatePrimaryCallL(const CCCPCallParameters &, const TDesC &, const MCCPCallObserver &)

MCCPCall *CreatePrimaryCallL(const CCCPCallParameters &aParameters,
const TDesC &aRecipient,
const MCCPCallObserver &aObserver
)
Makes run-time decision what technology to use for the call
Since
Series60 3.2

Parameters

const CCCPCallParameters & aParametersCall parameters
const TDesC & aRecipientRecipient
const MCCPCallObserver & aObserverReference to call observer

CreateSecondaryCallL(const CCCPCallParameters &, const TDesC &, const MCCPCallObserver &)

voidCreateSecondaryCallL(const CCCPCallParameters &aParameters,
const TDesC &aRecipient,
const MCCPCallObserver &aObserver
)
Creates an implementation for making handover
Since
Series60 3.2

Parameters

const CCCPCallParameters & aParametersCall parameters
const TDesC & aRecipientRecipient
const MCCPCallObserver & aObserverReference to call observer

CsProvider()

CConvergedCallProvider &CsProvider()
returns cs provider
Since
Series60 3.2

Dial()

TInt Dial()

Dial(const TDesC8 &)

TInt Dial(const TDesC8 &aCallParams)

Parameters

const TDesC8 & aCallParams

DialledParty()

const TDesC &DialledParty()const

ErrorOccurred(const TCCPError, MCCPCall *)

voidErrorOccurred(const TCCPErroraError,
MCCPCall *aCall
)

Parameters

const TCCPError aError
MCCPCall * aCall

ForwardProviderL(const MCCPForwardObserver &)

MCCPForwardProvider *ForwardProviderL(const MCCPForwardObserver &aObserver)

Parameters

const MCCPForwardObserver & aObserver

GetMobileCallInfo(TDes8 &)

TInt GetMobileCallInfo(TDes8 &aCallInfo)const

Parameters

TDes8 & aCallInfo

GetMobileDataCallCaps(TDes8 &)

TInt GetMobileDataCallCaps(TDes8 &aCaps)const

Parameters

TDes8 & aCaps

HandoverReady()

voidHandoverReady()
Informat that the domain has been changed.
Since
Series60 3.2

HangUp()

TInt HangUp()

Hold()

TInt Hold()

IncomingCall(MCCPCall *)

MCCPCall *IncomingCall(MCCPCall *aCall)
handles incoming call
Since
Series60 3.2

Parameters

MCCPCall * aCallReference to call object

IsCallForwarded()

TBool IsCallForwarded()const

IsMobileOriginated()

TBool IsMobileOriginated()const

IsSecured()

TBool IsSecured()const

LogDialedNumber()

TBool LogDialedNumber()const

MoCall(MCCPCall *)

MCCPCall *MoCall(MCCPCall *aCall)
handles 3rd party mo call
Since
Series60 3.2

Parameters

MCCPCall * aCallReference to call object

NewL(RPointerArray< CConvergedCallProvider > &, TVccState &, CVccHoTrigger &, TBool)

CVccPerformer *NewL(RPointerArray< CConvergedCallProvider > &aProviders,
TVccState &aState,
CVccHoTrigger &aVccHoTrigger,
TBoolaCsOriginated
)[static]

Parameters

RPointerArray< CConvergedCallProvider > & aProviders
TVccState & aState
CVccHoTrigger & aVccHoTrigger
TBool aCsOriginated

NoFDNCheck()

voidNoFDNCheck()

Notifier()

CVccEngPsProperty &Notifier()
Gets the notifier
Since
Series60 3.2

Parameters()

const CCCPCallParameters &Parameters()const

ParseRemoteParty()

voidParseRemoteParty()[private]

Removes SIP-uri from remoteparty number if call is VoIP call

PrimaryCall()

MCCPCall *PrimaryCall()
Gets the actual implementation of the active call
Since
Series60 3.2

PsProvider()

CConvergedCallProvider &PsProvider()
returns ps provider
Since
Series60 3.2

Queue()

TInt Queue()

Reject()

TInt Reject()

ReleaseCall(MCCPCall &)

TInt ReleaseCall(MCCPCall &aCall)
Releases call
Since
Series60 3.2

Parameters

MCCPCall & aCallCall to be removed

ReleaseSecondaryCallLeg()

voidReleaseSecondaryCallLeg()
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 &)

TInt RemoveObserver(const MCCPCallObserver &aObserver)

Parameters

const MCCPCallObserver & aObserver

Resume()

TInt Resume()

Ringing()

TInt Ringing()

SecondaryCall()

MCCPCall *SecondaryCall()
Returns created local implementation
Since
Series60 3.2

SecureSpecified()

TBool SecureSpecified()const

SetCall(MCCPCall *)

voidSetCall(MCCPCall *aCall)
Changing the call object
Since
Series60 3.2

Parameters

MCCPCall * aCallReference to a new call object

SetCallL(MCCPCall *)

voidSetCallL(MCCPCall *aCall)
Changing the call object
Since
Series60 3.2

Parameters

MCCPCall * aCallReference to a new call object leaves with system error code

SetParameters(const CCCPCallParameters &)

voidSetParameters(const CCCPCallParameters &aNewParams)

Parameters

const CCCPCallParameters & aNewParams

SetRemoteParties()

voidSetRemoteParties()

Save original RemoteParty and RemotePartyName, so that call bubble stays intact also after handover

SetState(TVccState &)

voidSetState(TVccState &aState)
Updates the current state with the next state
Since
Series60 3.2

Parameters

TVccState & aStatereference to a new call state

StateName()

TUint StateName()const
Returns current state name
Since
Series60 3.2

Swap()

TInt Swap()

SwitchAlternatingCall()

TInt SwitchAlternatingCall()

SwitchL(const TInt)

voidSwitchL(const TIntaValue)
Starts Handover procedure
Since
S60 3.2

Parameters

const TInt aValueType and direction of the possible HO

Tone()

TCCPTone Tone()const

TransferProviderL(const MCCPTransferObserver &)

MCCPTransferProvider *TransferProviderL(const MCCPTransferObserver &aObserver)

Parameters

const MCCPTransferObserver & aObserver

Uid()

TUid Uid()const

VoipProviderIndex(TBool)

TInt VoipProviderIndex(TBoolaVoipIndexWanted)

Finds provider index number from array

Parameters

TBool aVoipIndexWanted

Member Data Documentation

MCCPCallObserver * iCallObs

MCCPCallObserver *iCallObs[private]

remembering the call observer because it needs to change Not own

TBool iCsOriginated

TBool iCsOriginated[private]

Originating domain of the call

TVccState * iCurrentState

TVccState *iCurrentState[private]

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

MCCPCall *iPrimaryCall[private]

actual call implementation, can be changed run-time Own

RPointerArray< CConvergedCallProvider > & iProviders

RPointerArray< CConvergedCallProvider > &iProviders[private]

Call provider array Not own

TBool iRemotePartiesSet

TBool iRemotePartiesSet[private]

MCCPCall * iSecondaryCall

MCCPCall *iSecondaryCall[private]

actual call implementation, created to perfome a handover Own

CVccTransferProvider * iTransferProvider

CVccTransferProvider *iTransferProvider[private]

Transfer provider for handling call transfer Own

CVccHoTrigger & iVccHoTrigger

CVccHoTrigger &iVccHoTrigger[private]

trigger for initiating automatic HOs Not own

CVccEngPsProperty * iVccPsp

CVccEngPsProperty *iVccPsp[private]

for informing the states Own