CCchService Class Reference

class CCchService : public CBase
CCchService declaration. CCH service connectivity plug-in API.
Since
S60 3.2

Inherits from

Constructor & Destructor Documentation

CCchService()

CCchService ( ) [protected, inline]

~CCchService()

~CCchService ( ) [inline, virtual]

Member Functions Documentation

DisableServiceL(const TServiceSelection &)

void DisableServiceL ( const TServiceSelection & aServiceSelection ) [pure virtual]
Client disables service.
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type

EnableServiceL(const TServiceSelection &)

void EnableServiceL ( const TServiceSelection & aServiceSelection ) [pure virtual]
Client enables service. CCHService implementation should use MCCHServiceObserver for service state notifications.
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type

EnableServiceL(const TServiceSelection &, TUint)

void EnableServiceL ( const TServiceSelection & aServiceSelection,
TUint aIapId
) [pure virtual]
Client enables service. CCHService implementation should use MCCHServiceObserver for service state notifications.
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
TUint aIapId

FreeService(const TServiceSelection &)

TInt FreeService ( const TServiceSelection & aServiceSelection ) [pure virtual]
Frees the exclusive service reservation
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type

GetConnectionParameter(const TServiceSelection &, TCchConnectionParameter, TInt &)

TInt GetConnectionParameter ( const TServiceSelection & aServiceSelection,
TCchConnectionParameter aParameter,
TInt & aValue
) const [pure virtual]
Returns the connection parameters
Since
S60 3.2.3

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
TCchConnectionParameter aParameter Connection parameter of the service
TInt & aValue Value of the parameter

GetConnectionParameter(const TServiceSelection &, TCchConnectionParameter, RBuf &)

TInt GetConnectionParameter ( const TServiceSelection & aServiceSelection,
TCchConnectionParameter aParameter,
RBuf & aValue
) const [pure virtual]
Returns the connection parameters
Since
S60 3.2.3

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
TCchConnectionParameter aParameter Connection parameter of the service
RBuf & aValue Value of the parameter

GetServiceInfoL(const TServiceSelection &, RBuf &)

void GetServiceInfoL ( const TServiceSelection & aServiceSelection,
RBuf & aBuffer
) const [pure virtual]
Get service specifics information about service and protocol
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
RBuf & aBuffer

GetServiceNetworkInfo(TServiceConnectionInfo &)

TInt GetServiceNetworkInfo ( TServiceConnectionInfo & aConnectionInfo ) const [pure virtual]
Get service network information.
Since
S60 3.2

Parameters

TServiceConnectionInfo & aConnectionInfo Selected service, ID and type, used SNAP id (should be set as null if not in use), used IAP id (should be set as null if not in use), SNAP locked indicator

GetServiceState(const TServiceSelection &, TCCHSubserviceState &)

TInt GetServiceState ( const TServiceSelection & aServiceSelection,
TCCHSubserviceState & aState
) const [pure virtual]
Get service state information.
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
TCCHSubserviceState & aState Current service state.

IsAvailableL(const TServiceSelection &, const RArray< TUint32 > &)

TBool IsAvailableL ( const TServiceSelection & aServiceSelection,
const RArray < TUint32 > & aIapIdArray
) const [pure virtual]
Client checks is the service available by the IAP id array. CCHService implementation should return ETrue if service is registrable by the (some) IAP, array contains.
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
const RArray < TUint32 > & aIapIdArray Id array of the currently available iaps.

IsReserved(const TServiceSelection &)

TBool IsReserved ( const TServiceSelection & aServiceSelection ) const [pure virtual]
Is the service reserved
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type

NewL(TUid, MCchServiceObserver &)

CCchService * NewL ( TUid aImplementationUid,
MCchServiceObserver & aCCHObserver
) [static, inline]

Parameters

TUid aImplementationUid
MCchServiceObserver & aCCHObserver

ReserveService(const TServiceSelection &)

TInt ReserveService ( const TServiceSelection & aServiceSelection ) [pure virtual]
Reserves the service for exclusive use
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type

SetConnectionParameter(const TServiceSelection &, TCchConnectionParameter, TInt)

TInt SetConnectionParameter ( const TServiceSelection & aServiceSelection,
TCchConnectionParameter aParameter,
TInt aValue
) [pure virtual]
Sets the connection parameters
Since
S60 3.2.3

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
TCchConnectionParameter aParameter Connection parameter of the service
TInt aValue Value of the parameter

SetConnectionParameter(const TServiceSelection &, TCchConnectionParameter, const TDesC &)

TInt SetConnectionParameter ( const TServiceSelection & aServiceSelection,
TCchConnectionParameter aParameter,
const TDesC & aValue
) [pure virtual]
Sets the connection parameters
Since
S60 3.2.3

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
TCchConnectionParameter aParameter Connection parameter of the service
const TDesC & aValue Value of the parameter

SetIapId(const TServiceSelection &, TUint)

TInt SetIapId ( const TServiceSelection & aServiceSelection,
TUint aIapId
) [pure virtual]
Set IAP id for service.
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
TUint aIapId

SetSnapId(const TServiceSelection &, TUint)

TInt SetSnapId ( const TServiceSelection & aServiceSelection,
TUint aSnapId
) [pure virtual]
Set SNAP id for service.
Since
S60 3.2

Parameters

const TServiceSelection & aServiceSelection Selected service, ID and type
TUint aSnapId

Member Data Documentation

TUid iInstanceKey

TUid iInstanceKey