CSyncService Class Reference
class CSyncService : public CBase |
CSyncService
Higher level client side service class
syncservice.lib
- Since
- Series 60 3.0
Constructor & Destructor Documentation
Member Functions Documentation
ConstructL(MAknServerAppExitObserver *, TUint)
2nd phase constructor First calls Discover to find the right application with aParams. Then calls iService to connect to right application. Creates an instance of CApaServerAppExitMonitor Creates an instance of CSyncService. Sets itself as observer for the service.
Parameters
MAknServerAppExitObserver * aObserver | pointer of MAknServerAppExitObserver to be passed to iMonitor |
TUint aServiceId | parameters for the service so that it knows which application to start |
DiscoverL(TUint)
DiscoverL Finds the right application id to be started and returns it. Connects RApaLsSession and initializes it with GetServerApps command. Then gets all the services that implement the service by using GetServiceImplementationsLC. Calls TryMatchL for each service and if there's a match, the appId is returned. If no implementation is found, 0 is returned.
Parameters
TUint aServiceId | parameters for the service so that it knows which application to start |
EnableProgressNoteL(TBool)
IMPORT_C void | EnableProgressNoteL | ( | TBool | aEnabled | ) | |
Sends a command to the sync or devman application to indicate that the progress note should be enabled or disabled.
Parameters
TBool aEnabled | Should the progress not be shown. |
NewL(MAknServerAppExitObserver *, TUint)
StartSyncL(TSyncServiceParam)
Parameters
TSyncServiceParam aParam | Parameters for the service so that it knows which service command to issue |
TryMatchL(const TApaAppServiceInfo, TUid &, TUint)
TryMatchL Reads the service type information from OpaqueData. Sets aAppUi as the application id.
Parameters
const TApaAppServiceInfo aInfo | Application service information. |
TUid & aAppUid | Application Uid |
TUint aServiceId | Parameters for the service so that it knows which application to start |
Member Data Documentation
CApaServerAppExitMonitor * iMonitor
TSyncServiceParam
iParameters
TUint
iServiceId
TUint
| iServiceId | [private] |
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.