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 ()
void CallStateChanged (TCCPCallState, MCCPCall *)
CCPCall::TCallType CallType ()
CCPCall::TCallDirection Direction ()
TInt DoPendingRequest ()
void ErrorOccurred ( TCCPError , MCCPCall *)
MCCPCall & GetCCPCall ()
void HandleTransfer (const TBool , CCCETransferController &)
TInt HangUp ()
TInt Hold ()
TInt HoldNoNotify ()
const TUid ImplementationUid ()
TBool IsInUse ()
CCCECall * NewLC ( CCCECallContainer &, TInt )
void NotifyRequestComplete ( TInt , TCCPError )
const CCCPCallParameters & Parameters ()
TInt Release ()
TInt ReplaceActive ()
TCallRequest Request ()
void RequestComplete ( TCCPError )
TInt Resume ()
TInt ResumeNoNotify ()
TUint32 ServiceId ()
void SetConvergedCallL ( MCCPCall *, TUid , TBool )
void SetNewCallIndex ()
void SetObserver (const MCCECallObserver &)
void SetTransferController (CCCETransferController *)
CCPCall::TCallState State ()
TCCPTone Tone ()
Private Member Functions
CCCECall ( CCCECallContainer &, TInt )
TInt AcceptTransfer (const TBool )
TInt Answer ()
TInt AttendedTransfer (const TDesC &)
void CallCapsChanged ( TUint32 , MCCPCall *)
void CallEventOccurred (TCCPCallEvent, MCCPCall *)
void CallStateChanged (TCCPCallState, TBool )
void CallStateChangedWithInband (TCCPCallState, MCCPCall *)
MCCECallObserver::TCCECallControlCaps Caps ()
void ConstructL ()
TInt Dial (const TDesC8 &)
void DialEmergencyCall (const TDesC16 &)
const TDesC & DialledParty ()
void ForwardEventOccurred (const MCCPForwardObserver::TCCPForwardEvent )
void ForwardToAddressL ( TInt )
const CDesC8Array & GetForwardAddressChoicesL ()
void GetMobileCallInfo ( TDes8 &)
TInt GetMobileDataCallCaps ( TDes8 &)
TBool IsCsPlugin ()
TBool IsEmergency ()
TBool IsSecured ()
TBool LogDialedNumber ()
void NoFDNCheck ()
void NotifyCallStatusChange ( CCPCall::TCallState , TBool , CCECallEnums::TNotifyType )
const TDesC & RemoteParty ()
const TDesC & RemotePartyName ()
void Reset ()
TBool SecureSpecified ()
void SetParameters (const CCCECallParameters &)
TDateTime StartTime ()
TInt Swap ()
TInt SwitchAlternatingCall ()
void TransferEventOccurred (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
enum TCallRequest {
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 TInt iCallId
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,
TInt aCallId
) [private]

Constructor

Parameters

CCCECallContainer & aCallContainer
TInt aCallId

~CCCECall()

~CCCECall ( ) [virtual]

Destructor.

Member Functions Documentation

AcceptTransfer(const TBool)

TInt AcceptTransfer ( const TBool aAccept ) [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 *)

void CallCapsChanged ( TUint32 aCapsFlags,
MCCPCall * aCall
) [private]

Parameters

TUint32 aCapsFlags
MCCPCall * aCall

CallDuration()

TTimeIntervalSeconds CallDuration ( ) const

CallEventOccurred(TCCPCallEvent, MCCPCall *)

void CallEventOccurred ( TCCPCallEvent aEvent,
MCCPCall * aCall
) [private]

Parameters

TCCPCallEvent aEvent
MCCPCall * aCall

CallId()

TInt CallId ( ) const

Id of this call

Since
S60 v3.2

CallStateChanged(TCCPCallState, MCCPCall *)

void CallStateChanged ( TCCPCallState aState,
MCCPCall * aCall
)

Parameters

TCCPCallState aState
MCCPCall * aCall

CallStateChanged(TCCPCallState, TBool)

void CallStateChanged ( TCCPCallState aState,
TBool aInband
) [private]

Handle call state change

Since
S60 v3.2

Parameters

TCCPCallState aState
TBool aInband ETrue if tones for this status is generated inband

CallStateChangedWithInband(TCCPCallState, MCCPCall *)

void CallStateChangedWithInband ( TCCPCallState aState,
MCCPCall * aCall
) [private]

Parameters

TCCPCallState aState
MCCPCall * aCall

CallType()

CCPCall::TCallType CallType ( ) const

ConstructL()

void ConstructL ( ) [private]

Leaving stuff in constructor

Dial(const TDesC8 &)

TInt Dial ( const TDesC8 & aCallParams ) [private]

Parameters

const TDesC8 & aCallParams

DialEmergencyCall(const TDesC16 &)

void DialEmergencyCall ( 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 *)

void ErrorOccurred ( TCCPError aError,
MCCPCall * aCall
)

Parameters

TCCPError aError
MCCPCall * aCall

ForwardEventOccurred(const MCCPForwardObserver::TCCPForwardEvent)

void ForwardEventOccurred ( const MCCPForwardObserver::TCCPForwardEvent aEvent ) [private]

ForwardToAddressL(TInt)

void ForwardToAddressL ( TInt aIndex ) [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 &)

void GetMobileCallInfo ( TDes8 & aCallInfo ) const [private]

Parameters

TDes8 & aCallInfo

GetMobileDataCallCaps(TDes8 &)

TInt GetMobileDataCallCaps ( TDes8 & aCaps ) const [private]

Parameters

TDes8 & aCaps

HandleTransfer(const TBool, CCCETransferController &)

void HandleTransfer ( const TBool aAttented,
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 & aTransferController Reference to TransferController

HangUp()

TInt HangUp ( )

HoldNoNotify()

TInt HoldNoNotify ( )

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

Since
S60 v3.2

ImplementationUid()

const TUid ImplementationUid ( ) 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,
TInt aCallId
) [static]

Two-phased constructor.

Parameters

CCCECallContainer & aCallContainer Reference callcontainer
TInt aCallId Defines id for this call

NoFDNCheck()

void NoFDNCheck ( ) [private]

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

void NotifyCallStatusChange ( CCPCall::TCallState aCallStatus,
TBool aInband,
CCECallEnums::TNotifyType aNotify
) [private]

Notify call state changes to observers

Since
S60 v3.2

Parameters

CCPCall::TCallState aCallStatus New call state
TBool aInband ETrue if tones for this status is generated inband
CCECallEnums::TNotifyType aNotify

NotifyRequestComplete(TInt, TCCPError)

void NotifyRequestComplete ( TInt aRequest,
TCCPError aError
)

Informs to observers that calls request has been completed.

Since
S60 v3.2

Parameters

TInt aRequest Request to be completed
TCCPError aError Error 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)

void RequestComplete ( TCCPError aError )

Complete currently ongoing request

Since
S60 v3.2

Parameters

TCCPError aError Error code ( KErrNone if succesful )

Reset()

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

void SetConvergedCallL ( MCCPCall * aCall,
TUid aImplementationUid,
TBool aTransferred = EFalse
)

Sets new converged call into to use.

Since
S60 v3.2

Parameters

MCCPCall * aCall Pointer to used ccp call
TUid aImplementationUid Implementation uid of plugin that call is from
TBool aTransferred = EFalse Flag indicating if this was transferred call. In that case some of the initilizations made in this method should not be done

SetNewCallIndex()

void SetNewCallIndex ( )

Sets new call index if call index not valid.

Since
S60 5.0

SetObserver(const MCCECallObserver &)

void SetObserver ( const MCCECallObserver & aObserver )

Adds new observer for MCCECall object.

Since
S60 v3.2

Parameters

const MCCECallObserver & aObserver

SetParameters(const CCCECallParameters &)

void SetParameters ( const CCCECallParameters & aNewParams ) [private]

Parameters

const CCCECallParameters & aNewParams

SetTransferController(CCCETransferController *)

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

Parameters

CCCETransferController * aTransferController Pointer 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)

void TransferEventOccurred ( TCCPTransferEvent aEvent ) [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 TInt iCallId [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