CCCECall Class Reference

class CCCECall : public CBase

Internal call object

This object contains logic for this specific call

cce.dll
Since
S60 v3.2

Inherits from

Nested Classes and Structures

Public Member Functions
~CCCECall()
TTimeIntervalSeconds CallDuration()
TInt CallId()
TInt CallIndex()
voidCallStateChanged(TCCPCallState, MCCPCall *)
CCPCall::TCallType CallType()
CCPCall::TCallDirection Direction()
TInt DoPendingRequest()
voidErrorOccurred(TCCPError, MCCPCall *)
MCCPCall &GetCCPCall()
voidHandleTransfer(const TBool, CCCETransferController &)
TInt HangUp()
TInt Hold()
TInt HoldNoNotify()
const TUidImplementationUid()
TBool IsInUse()
CCCECall *NewLC(CCCECallContainer &, TInt)
voidNotifyRequestComplete(TInt, TCCPError)
const CCCPCallParameters &Parameters()
TInt Release()
TInt ReplaceActive()
TCallRequest Request()
voidRequestComplete(TCCPError)
TInt Resume()
TInt ResumeNoNotify()
TUint32 ServiceId()
voidSetConvergedCallL(MCCPCall *, TUid, TBool)
voidSetNewCallIndex()
voidSetObserver(const MCCECallObserver &)
voidSetTransferController(CCCETransferController *)
CCPCall::TCallState State()
TCCPTone Tone()
Private Member Functions
CCCECall(CCCECallContainer &, TInt)
TInt AcceptTransfer(const TBool)
TInt Answer()
TInt AttendedTransfer(const TDesC &)
voidCallCapsChanged(TUint32, MCCPCall *)
voidCallEventOccurred(TCCPCallEvent, MCCPCall *)
voidCallStateChanged(TCCPCallState, TBool)
voidCallStateChangedWithInband(TCCPCallState, MCCPCall *)
MCCECallObserver::TCCECallControlCaps Caps()
voidConstructL()
TInt Dial(const TDesC8 &)
voidDialEmergencyCall(const TDesC16 &)
const TDesC &DialledParty()
voidForwardEventOccurred(const MCCPForwardObserver::TCCPForwardEvent)
voidForwardToAddressL(TInt)
const CDesC8Array &GetForwardAddressChoicesL()
voidGetMobileCallInfo(TDes8 &)
TInt GetMobileDataCallCaps(TDes8 &)
TBool IsCsPlugin()
TBool IsEmergency()
TBool IsSecured()
TBool LogDialedNumber()
voidNoFDNCheck()
voidNotifyCallStatusChange(CCPCall::TCallState, TBool, CCECallEnums::TNotifyType)
const TDesC &RemoteParty()
const TDesC &RemotePartyName()
voidReset()
TBool SecureSpecified()
voidSetParameters(const CCCECallParameters &)
TDateTime StartTime()
TInt Swap()
TInt SwitchAlternatingCall()
voidTransferEventOccurred(TCCPTransferEvent)
const TDesC &TransferTarget()
TInt UnattendedTransfer(const TDesC &)
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()
Public Member Enumerations
enumTCallRequest {
ECCENone = 0x00000000, ECCEDial, ECCEReleaseActive, ECCEReleaseHeld, ECCEReleaseOutgoing, ECCERejectIncoming, ECCETerminateDisconnected, ECCEHold, ECCEResume, ECCESwap, ECCETransfer, ECCEConferenceJoin, ECCEMakeEmergencyCall, ECCEAnswer, ECCEConferencePrivate, ECCEConferenceDropParticipant, ECCEConferenceTerminate, ECCESwitchCallMode, ECCEReplaceActive, ECCETerminateAll, ECCETerminateAllAndWaiting, ECCETerminateAllActiveCalls, ECCETerminateAllHeldCalls, ECCEClearBlackListing, ECCETerminateAndDial, ECCEActivateCcbs, ECCERejectCcbs, ECCEUnattendedTransfer, ECCEPark
}
Private Attributes
TCallRequest iActiveRequest
CCCEDurationTimer *iCCEDurationTimer
MCCPCall *iCall
CCCECallContainer &iCallContainer
CCPCall::TCallDirection iCallDirection
const TIntiCallId
TInt iCallIndex
CCCPCallParameters *iCallParameters
const TDesC8 *iCallParams
CCPCall::TCallState iCallState
TInt iDoNotReportRequest
TCCPError iExitCode
MCCPForwardProvider *iForwardProvider
TUid iImplementationUid
CCCECallObserverAsynchroniser *iObserver
CCCETransferController *iTransferController
MCCPTransferProvider *iTransferProvider

Constructor & Destructor Documentation

CCCECall(CCCECallContainer &, TInt)

CCCECall(CCCECallContainer &aCallContainer,
TIntaCallId
)[private]

Constructor

Parameters

CCCECallContainer & aCallContainer
TInt aCallId

~CCCECall()

~CCCECall()[virtual]

Destructor.

Member Functions Documentation

AcceptTransfer(const TBool)

TInt AcceptTransfer(const TBoolaAccept)[private]

Parameters

const TBool aAccept

Answer()

TInt Answer()[private]

AttendedTransfer(const TDesC &)

TInt AttendedTransfer(const TDesC &aTransferTarget)[private]

Parameters

const TDesC & aTransferTarget

CallCapsChanged(TUint32, MCCPCall *)

voidCallCapsChanged(TUint32aCapsFlags,
MCCPCall *aCall
)[private]

Parameters

TUint32 aCapsFlags
MCCPCall * aCall

CallDuration()

TTimeIntervalSeconds CallDuration()const

CallEventOccurred(TCCPCallEvent, MCCPCall *)

voidCallEventOccurred(TCCPCallEventaEvent,
MCCPCall *aCall
)[private]

Parameters

TCCPCallEvent aEvent
MCCPCall * aCall

CallId()

TInt CallId()const

Id of this call

Since
S60 v3.2

CallIndex()

TInt CallIndex()const

CallStateChanged(TCCPCallState, MCCPCall *)

voidCallStateChanged(TCCPCallStateaState,
MCCPCall *aCall
)

Parameters

TCCPCallState aState
MCCPCall * aCall

CallStateChanged(TCCPCallState, TBool)

voidCallStateChanged(TCCPCallStateaState,
TBoolaInband
)[private]

Handle call state change

Since
S60 v3.2

Parameters

TCCPCallState aState
TBool aInbandETrue if tones for this status is generated inband

CallStateChangedWithInband(TCCPCallState, MCCPCall *)

voidCallStateChangedWithInband(TCCPCallStateaState,
MCCPCall *aCall
)[private]

Parameters

TCCPCallState aState
MCCPCall * aCall

CallType()

CCPCall::TCallType CallType()const

ConstructL()

voidConstructL()[private]

Leaving stuff in constructor

Dial(const TDesC8 &)

TInt Dial(const TDesC8 &aCallParams)[private]

Parameters

const TDesC8 & aCallParams

DialEmergencyCall(const TDesC16 &)

voidDialEmergencyCall(const TDesC16 &aNumber)[private]

Parameters

const TDesC16 & aNumber

DialledParty()

const TDesC &DialledParty()const [private]

Direction()

CCPCall::TCallDirection Direction()const

DoPendingRequest()

TInt DoPendingRequest()

Do request that is pending. This is needed in multicall dial and answer.

Since
S60 v3.2

ErrorOccurred(TCCPError, MCCPCall *)

voidErrorOccurred(TCCPErroraError,
MCCPCall *aCall
)

Parameters

TCCPError aError
MCCPCall * aCall

ForwardEventOccurred(const MCCPForwardObserver::TCCPForwardEvent)

voidForwardEventOccurred(const MCCPForwardObserver::TCCPForwardEventaEvent)[private]

ForwardToAddressL(TInt)

voidForwardToAddressL(TIntaIndex)[private]

MCCECall::ForwardToAddressL

Parameters

TInt aIndex

GetCCPCall()

MCCPCall &GetCCPCall()const

Reference to owned converged call provider call.

Since
S60 v3.2

GetForwardAddressChoicesL()

const CDesC8Array &GetForwardAddressChoicesL()[private]

MCCECall::GetForwardAddressChoicesL

GetMobileCallInfo(TDes8 &)

voidGetMobileCallInfo(TDes8 &aCallInfo)const [private]

Parameters

TDes8 & aCallInfo

GetMobileDataCallCaps(TDes8 &)

TInt GetMobileDataCallCaps(TDes8 &aCaps)const [private]

Parameters

TDes8 & aCaps

HandleTransfer(const TBool, CCCETransferController &)

voidHandleTransfer(const TBoolaAttented,
CCCETransferController &aTransferController
)
Called by the TransferController object in case when remote end has been inititated transfer
Since
S60 v3.2

Parameters

const TBool aAttented
CCCETransferController & aTransferControllerReference to TransferController

HangUp()

TInt HangUp()

Hold()

TInt Hold()

HoldNoNotify()

TInt HoldNoNotify()

Put call on hold but dont complete request. This is used in multicall situations.

Since
S60 v3.2

ImplementationUid()

const TUidImplementationUid()const

IsCsPlugin()

TBool IsCsPlugin()const [private]

Tells if cs plugin is used in current call

Since
S60 v3.2

IsEmergency()

TBool IsEmergency()const [private]

IsInUse()

TBool IsInUse()const

Call object in use.

Since
S60 v3.2

IsSecured()

TBool IsSecured()const [private]

LogDialedNumber()

TBool LogDialedNumber()const [private]

NewLC(CCCECallContainer &, TInt)

CCCECall *NewLC(CCCECallContainer &aCallContainer,
TIntaCallId
)[static]

Two-phased constructor.

Parameters

CCCECallContainer & aCallContainerReference callcontainer
TInt aCallIdDefines id for this call

NoFDNCheck()

voidNoFDNCheck()[private]

NotifyCallStatusChange(CCPCall::TCallState, TBool, CCECallEnums::TNotifyType)

voidNotifyCallStatusChange(CCPCall::TCallStateaCallStatus,
TBoolaInband,
CCECallEnums::TNotifyTypeaNotify
)[private]

Notify call state changes to observers

Since
S60 v3.2

Parameters

CCPCall::TCallState aCallStatusNew call state
TBool aInbandETrue if tones for this status is generated inband
CCECallEnums::TNotifyType aNotify

NotifyRequestComplete(TInt, TCCPError)

voidNotifyRequestComplete(TIntaRequest,
TCCPErroraError
)

Informs to observers that calls request has been completed.

Since
S60 v3.2

Parameters

TInt aRequestRequest to be completed
TCCPError aErrorError code for request( KErrNone if succesful )

Parameters()

const CCCPCallParameters &Parameters()const

Release()

TInt Release()

RemoteParty()

const TDesC &RemoteParty()const [private]

RemotePartyName()

const TDesC &RemotePartyName()const [private]

ReplaceActive()

TInt ReplaceActive()

Request()

TCallRequest Request()const

Returns currently ongoing request.

Since
S60 v3.2

RequestComplete(TCCPError)

voidRequestComplete(TCCPErroraError)

Complete currently ongoing request

Since
S60 v3.2

Parameters

TCCPError aErrorError code ( KErrNone if succesful )

Reset()

voidReset()[private]

Reset call members

Since
S60 v3.2

Resume()

TInt Resume()

ResumeNoNotify()

TInt ResumeNoNotify()

Resume call but dont complete request. This is used in multicall situations.

Since
S60 v3.2

SecureSpecified()

TBool SecureSpecified()const [private]

MCCECall::IsSecureSpecified

ServiceId()

TUint32 ServiceId()const

Service id of this call.

Since
S60 v3.2

SetConvergedCallL(MCCPCall *, TUid, TBool)

voidSetConvergedCallL(MCCPCall *aCall,
TUidaImplementationUid,
TBoolaTransferred = EFalse
)

Sets new converged call into to use.

Since
S60 v3.2

Parameters

MCCPCall * aCallPointer to used ccp call
TUid aImplementationUidImplementation uid of plugin that call is from
TBool aTransferred = EFalseFlag indicating if this was transferred call. In that case some of the initilizations made in this method should not be done

SetNewCallIndex()

voidSetNewCallIndex()

Sets new call index if call index not valid.

Since
S60 5.0

SetObserver(const MCCECallObserver &)

voidSetObserver(const MCCECallObserver &aObserver)

Adds new observer for MCCECall object.

Since
S60 v3.2

Parameters

const MCCECallObserver & aObserver

SetParameters(const CCCECallParameters &)

voidSetParameters(const CCCECallParameters &aNewParams)[private]

Parameters

const CCCECallParameters & aNewParams

SetTransferController(CCCETransferController *)

voidSetTransferController(CCCETransferController *aTransferController)
Sets TransferController handle
Since
S60 v3.2

Parameters

CCCETransferController * aTransferControllerPointer to TransferController object

StartTime()

TDateTime StartTime()const [private]

State()

CCPCall::TCallState State()const

Swap()

TInt Swap()[private]

SwitchAlternatingCall()

TInt SwitchAlternatingCall()[private]

Tone()

TCCPTone Tone()const

TransferEventOccurred(TCCPTransferEvent)

voidTransferEventOccurred(TCCPTransferEventaEvent)[private]

Parameters

TCCPTransferEvent aEvent

TransferTarget()

const TDesC &TransferTarget()const [private]

UnattendedTransfer(const TDesC &)

TInt UnattendedTransfer(const TDesC &aTarget)[private]

Parameters

const TDesC & aTarget

Member Enumerations Documentation

Enum TCallRequest

Enumeration for requests

Enumerators

ECCENone = 0x00000000
ECCEDial
ECCEReleaseActive
ECCEReleaseHeld
ECCEReleaseOutgoing
ECCERejectIncoming
ECCETerminateDisconnected
ECCEHold
ECCEResume
ECCESwap
ECCETransfer
ECCEConferenceJoin
ECCEMakeEmergencyCall
ECCEAnswer
ECCEConferencePrivate
ECCEConferenceDropParticipant
ECCEConferenceTerminate
ECCESwitchCallMode
ECCEReplaceActive
ECCETerminateAll
ECCETerminateAllAndWaiting
ECCETerminateAllActiveCalls
ECCETerminateAllHeldCalls
ECCEClearBlackListing
ECCETerminateAndDial
ECCEActivateCcbs
ECCERejectCcbs
ECCEUnattendedTransfer
ECCEPark

Member Data Documentation

TCallRequest iActiveRequest

TCallRequest iActiveRequest[private]

Currently ongoing request

CCCEDurationTimer * iCCEDurationTimer

CCCEDurationTimer *iCCEDurationTimer[private]

Counts duration for this call Own

MCCPCall * iCall

MCCPCall *iCall[private]

Pointer to converged call provider call Own

CCCECallContainer & iCallContainer

CCCECallContainer &iCallContainer[private]

Callcontainer that owns this call

CCPCall::TCallDirection iCallDirection

CCPCall::TCallDirection iCallDirection[private]

Call direction

const TInt iCallId

const TIntiCallId[private]

Id for this call

TInt iCallIndex

TInt iCallIndex[private]

GSM spec Call index.

CCCPCallParameters * iCallParameters

CCCPCallParameters *iCallParameters[private]

Callparameters

const TDesC8 * iCallParams

const TDesC8 *iCallParams[private]

CS call only Not own

CCPCall::TCallState iCallState

CCPCall::TCallState iCallState[private]

Call status for internal use

TInt iDoNotReportRequest

TInt iDoNotReportRequest[private]

If request is made internally, its completion is not notified to observer. This variable contains request id of internal request

TCCPError iExitCode

TCCPError iExitCode[private]

KErrNone if everythink OK

MCCPForwardProvider * iForwardProvider

MCCPForwardProvider *iForwardProvider[private]

ForwardProvider interface handle Own

TUid iImplementationUid

TUid iImplementationUid[private]

Plugin implementation Uid

CCCECallObserverAsynchroniser * iObserver

CCCECallObserverAsynchroniser *iObserver[private]

Pointer to observer Own

CCCETransferController * iTransferController

CCCETransferController *iTransferController[private]

TransferController handle. Not own

MCCPTransferProvider * iTransferProvider

MCCPTransferProvider *iTransferProvider[private]

TransferProvider interface handle. Not own