MCCPObserver Class Reference

class MCCPObserver

CCP observer class. Observer for CCP events, errors and statuses etc.

Since
S60 3.2
Public Member Functions
void CallCreated ( MCCPCall *, MCCPCall *, TBool )
void ErrorOccurred ( MCCPObserver::TCCPError )
void IncomingCall ( MCCPCall *)
void IncomingCall ( MCCPCall *, MCCPCall &)
Protected Member Functions
~MCCPObserver ()
Public Member Enumerations
enum TCCPError { ECCPRegistrationFailed  = KCCPErrorBase - 1, ECCPUnregistrationFailed  = KCCPErrorBase - 2, ECCPNotImplemented  = KCCPErrorBase - 3, ECCPError  = KCCPErrorBase - 4, ECCPIncomingCallFailed  = KCCPErrorBase - 5 }

Constructor & Destructor Documentation

~MCCPObserver()

~MCCPObserver ( ) [protected, inline, virtual]
Protects the observer being deleted through the observer interface
Since
S60 3.2

Member Functions Documentation

CallCreated(MCCPCall *, MCCPCall *, TBool)

void CallCreated ( MCCPCall * aNewTransferCall,
MCCPCall * aOriginator,
TBool aAttended
) [pure virtual]
Indicate an arrived transfer request. Called at the transfer request receiver end, after receiving a transfer request . For incoming transfer at transfer target end see MCCPObserver::IncomingCall with two call objects as parameters.
Since
S60 3.2

Parameters

MCCPCall * aNewTransferCall The call that has been created with the new transfer target.
MCCPCall * aOriginator Pointer to originator of the transfer request.
TBool aAttended Transfer requested was attented (ETrue) or un-attented(EFalse)

ErrorOccurred(MCCPObserver::TCCPError)

void ErrorOccurred ( MCCPObserver::TCCPError aError ) [pure virtual]
An error has occurred concerning the connection.
Since
S60 3.2

Parameters

MCCPObserver::TCCPError aError Error code.

IncomingCall(MCCPCall *)

void IncomingCall ( MCCPCall * aCall ) [pure virtual]
Incoming call invitation in MT call case.
Since
S60 3.2

Parameters

MCCPCall * aCall Pointer to the newly created incoming call.

IncomingCall(MCCPCall *, MCCPCall &)

void IncomingCall ( MCCPCall * aCall,
MCCPCall & aTempCall
) [pure virtual]
Incoming call invitation in attended transfer case. Occurs at transfer target end. For incoming transfer at transferor end see MCCPObserver::CallCreated .
Since
S60 3.2

Parameters

MCCPCall * aCall IncomingCall transfer call.
MCCPCall & aTempCall Pointer to the held call.

Member Enumerations Documentation

Enum TCCPError

Enumerators

ECCPRegistrationFailed = KCCPErrorBase - 1

Registration failed

ECCPUnregistrationFailed = KCCPErrorBase - 2

Unregistration failed

ECCPNotImplemented = KCCPErrorBase - 3

Not implemented

ECCPError = KCCPErrorBase - 4

Error occured

ECCPIncomingCallFailed = KCCPErrorBase - 5

Plugin not able to handle incoming call