class CCchServiceImpl : public CCchService |
Class for basic cch functionality, getting services
?good_class_usage_example(s)
cch
Public Member Functions | |
---|---|
~CCchServiceImpl () | |
TInt | AddObserver ( MCchServiceStatusObserver &) |
CCchImpl * | CchImpl () |
TInt | Disable ( TCCHSubserviceType ) |
TInt | Enable ( TCCHSubserviceType ) |
TInt | Free ( TCCHSubserviceType ) |
TInt | GetConnectionParameter ( TCCHSubserviceType , TCchConnectionParameter , TInt &) |
TInt | GetConnectionParameter ( TCCHSubserviceType , TCchConnectionParameter , RBuf &) |
TInt | GetStatus ( TCCHSubserviceType , TCchServiceStatus &) |
TInt | IsReserved ( TCCHSubserviceType , TBool &) |
TInt | IsSupported ( TCCHSubserviceType , TBool &) |
CCchServiceImpl * | NewL ( CCchImpl &, TInt , CCchUiPrivateApi &) |
CCchServiceImpl * | NewLC ( CCchImpl &, TInt , CCchUiPrivateApi &) |
void | RemoveObserver () |
TInt | RemoveObserver ( MCchServiceStatusObserver &) |
TInt | Reserve ( TCCHSubserviceType ) |
TInt | ServiceId () |
TInt | SetConnectionParameter ( TCCHSubserviceType , TCchConnectionParameter , TInt ) |
TInt | SetConnectionParameter ( TCCHSubserviceType , TCchConnectionParameter , const TDesC &) |
void | SetObserver ( MCchServiceStatusObserver &) |
Private Member Functions | |
---|---|
CCchServiceImpl ( CCchImpl &, TInt , CCchUiPrivateApi &) | |
void | ConstructL () |
Private Attributes | |
---|---|
CCchServiceImplAsynchroniser * | iAsynchroniser |
CCchImpl & | iCch |
CCchUiPrivateApi & | iCchUi |
CCchClientObserver * | iObserver |
TInt | iServiceId |
CCchServiceImpl | ( | CCchImpl & | aCch, |
TInt | aServiceId, | ||
CCchUiPrivateApi & | aCchUi | ||
) | [private] |
The constructor
CCchImpl & aCch | Cch service factory |
TInt aServiceId | The id of the service |
CCchUiPrivateApi & aCchUi |
TInt | AddObserver | ( | MCchServiceStatusObserver & | aObserver | ) | [virtual] |
Adds observer for listening service events
MCchServiceStatusObserver & aObserver | Event observing class |
TInt | Disable | ( | TCCHSubserviceType | aType | ) | [virtual] |
Launches service disable. See CCchServiceObserver for status changes.
TCCHSubserviceType aType | Type of service |
TInt | Enable | ( | TCCHSubserviceType | aType | ) | [virtual] |
Launches service enable. See CCchServiceObserver for status changes.
TCCHSubserviceType aType | Type of service |
TInt | Free | ( | TCCHSubserviceType | aType | ) | [virtual] |
Frees the service of exclusive usage
TCCHSubserviceType aType | Type of service |
TInt | GetConnectionParameter | ( | TCCHSubserviceType | aType, |
TCchConnectionParameter | aParameter, | |||
TInt & | aValue | |||
) | const [virtual] |
Returns the connection parameters
TCCHSubserviceType aType | Type of service |
TCchConnectionParameter aParameter | Connection parameter of the service |
TInt & aValue | value of the parameter |
TInt | GetConnectionParameter | ( | TCCHSubserviceType | aType, |
TCchConnectionParameter | aParameter, | |||
RBuf & | aValue | |||
) | const [virtual] |
Returns the connection parameters
TCCHSubserviceType aType | Type of service |
TCchConnectionParameter aParameter | Connection parameter of the service |
RBuf & aValue | value of the parameter |
TInt | GetStatus | ( | TCCHSubserviceType | aType, |
TCchServiceStatus & | aStatus | |||
) | const [virtual] |
Returns the current service state
TCCHSubserviceType aType | Type of service |
TCchServiceStatus & aStatus | Status of the service, return value |
TInt | IsReserved | ( | TCCHSubserviceType | aType, |
TBool & | aReserved | |||
) | const [virtual] |
Is the service reserved
TCCHSubserviceType aType | Type of service |
TBool & aReserved | True if the service is reserved |
TInt | IsSupported | ( | TCCHSubserviceType | aType, |
TBool & | aSupported | |||
) | const [virtual] |
Checks if the type is supported
TCCHSubserviceType aType | Type of service |
TBool & aSupported | True if the service type is supported |
CCchServiceImpl * | NewL | ( | CCchImpl & | aCch, |
TInt | aServiceId, | |||
CCchUiPrivateApi & | aCchUi | |||
) | [static] |
Two-phased constructor.
CCchImpl & aCch | Cch service factory |
TInt aServiceId | Id of the service |
CCchUiPrivateApi & aCchUi | CCH connectivity UI handling API |
CCchServiceImpl * | NewLC | ( | CCchImpl & | aCch, |
TInt | aServiceId, | |||
CCchUiPrivateApi & | aCchUi | |||
) | [static] |
Two-phased constructor.
CCchImpl & aCch | Cch service factory |
TInt aServiceId | Id of the service |
CCchUiPrivateApi & aCchUi | CCH connectivity UI handling API |
void | RemoveObserver | ( | ) | [virtual] |
Do not use this anymore, change to RemoveObserver method with paramater
Removes the observer of service events
TInt | RemoveObserver | ( | MCchServiceStatusObserver & | aObserver | ) | [virtual] |
Removes the observer of service events
MCchServiceStatusObserver & aObserver | Event observing class |
TInt | Reserve | ( | TCCHSubserviceType | aType | ) | [virtual] |
Reserves the service for exclusive usage
TCCHSubserviceType aType | Type of service |
TInt | SetConnectionParameter | ( | TCCHSubserviceType | aType, |
TCchConnectionParameter | aParameter, | |||
TInt | aValue | |||
) | [virtual] |
Sets the connection parameters
TCCHSubserviceType aType | The type of service |
TCchConnectionParameter aParameter | Connection parameter of the service |
TInt aValue | value of the parameter |
TInt | SetConnectionParameter | ( | TCCHSubserviceType | aType, |
TCchConnectionParameter | aParameter, | |||
const TDesC & | aValue | |||
) | [virtual] |
Sets the connection parameters
TCCHSubserviceType aType | The type of service |
TCchConnectionParameter aParameter | Connection parameter of the service |
const TDesC & aValue | value of the parameter |
void | SetObserver | ( | MCchServiceStatusObserver & | aObserver | ) | [virtual] |
Do not use this anymore, change to AddObserver!
Adds observer for listening service events
MCchServiceStatusObserver & aObserver | Event observing class |
CCchServiceImplAsynchroniser * | iAsynchroniser | [private] |
CCH server request handler
CCchUiPrivateApi & | iCchUi | [private] |
CCH connectivity UI handling private API
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.