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 ()
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 )
Private Member Functions
CVccPerformer ( RPointerArray < CConvergedCallProvider > &, TVccState &, CVccHoTrigger &, TBool )
void ConstructL ()
void ParseRemoteParty ()
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,
TBool aCsOriginated
) [private]

constructor.

Parameters

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

~CVccPerformer()

~CVccPerformer ( )

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

void AddObserverL ( const MCCPCallObserver & aObserver )

Parameters

const MCCPCallObserver & aObserver

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

Answer()

TInt Answer ( )

CallCapsChanged(const TUint32, MCCPCall *)

void CallCapsChanged ( const TUint32 aCapsFlags,
MCCPCall * aCall
)

Parameters

const TUint32 aCapsFlags
MCCPCall * aCall

CallEventOccurred(const MCCPCallObserver::TCCPCallEvent, MCCPCall *)

void CallEventOccurred ( const MCCPCallObserver::TCCPCallEvent aEvent,
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 *)

void CallStateChanged ( const MCCPCallObserver::TCCPCallState aState,
MCCPCall * aCall
)

Parameters

const MCCPCallObserver::TCCPCallState aState
MCCPCall * aCall

CallStateChangedWithInband(const MCCPCallObserver::TCCPCallState, MCCPCall *)

void CallStateChangedWithInband ( const MCCPCallObserver::TCCPCallState aState,
MCCPCall * aCall
)

Parameters

const MCCPCallObserver::TCCPCallState aState
MCCPCall * aCall

Cancel()

TInt Cancel ( )

ConferenceEnded()

void 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 &)

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 & aParameters Call parameters
const TDesC & aRecipient Recipient
const MCCPCallObserver & aObserver Reference to call observer

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

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

Parameters

const CCCPCallParameters & aParameters Call parameters
const TDesC & aRecipient Recipient
const MCCPCallObserver & aObserver Reference to call observer

CsProvider()

CConvergedCallProvider & CsProvider ( )
returns cs provider
Since
Series60 3.2

Dial(const TDesC8 &)

TInt Dial ( const TDesC8 & aCallParams )

Parameters

const TDesC8 & aCallParams

DialledParty()

const TDesC & DialledParty ( ) const

ErrorOccurred(const TCCPError, MCCPCall *)

void ErrorOccurred ( const TCCPError aError,
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()

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

HangUp()

TInt HangUp ( )

IncomingCall(MCCPCall *)

MCCPCall * IncomingCall ( MCCPCall * aCall )
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 *)

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

Parameters

MCCPCall * aCall Reference to call object

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

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

Parameters

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

NoFDNCheck()

void NoFDNCheck ( )

Notifier()

CVccEngPsProperty & Notifier ( )
Gets the notifier
Since
Series60 3.2

Parameters()

const CCCPCallParameters & Parameters ( ) const

ParseRemoteParty()

void ParseRemoteParty ( ) [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

Reject()

TInt Reject ( )

ReleaseCall(MCCPCall &)

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

Parameters

MCCPCall & aCall Call to be removed

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

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 *)

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

Parameters

MCCPCall * aCall Reference to a new call object

SetCallL(MCCPCall *)

void SetCallL ( MCCPCall * aCall )
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 &)

void SetParameters ( const CCCPCallParameters & aNewParams )

Parameters

const CCCPCallParameters & aNewParams

SetRemoteParties()

void SetRemoteParties ( )

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

SetState(TVccState &)

void SetState ( TVccState & aState )
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

Tone()

TCCPTone Tone ( ) const

TransferProviderL(const MCCPTransferObserver &)

MCCPTransferProvider * TransferProviderL ( const MCCPTransferObserver & aObserver )

Parameters

const MCCPTransferObserver & aObserver

Uid()

TUid Uid ( ) const

VoipProviderIndex(TBool)

TInt VoipProviderIndex ( TBool aVoipIndexWanted )

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