Method | Description | |
---|---|---|
Sync ( SyncResetMode resetMode = SyncResetMode.None ) : void |
Synchronize the AppList with the sync server and (un)apply AccessPoints accordingly.
|
|
SyncIntegrationManager ( |
Creates a new sync manager. Performs Mutex-based locking!
|
|
SyncIntegrationManager ( [ appListPath, |
Creates a new sync manager for a custom AppList file. Used for testing. Uses no mutex!
|
Method | Description | |
---|---|---|
AddAppHelper ( [ prototype ) : void |
Creates a new AppEntry based on an existing prototype (applying any AccessPoints) and adds it to the AppList.
|
|
DownloadAppList ( [ appListUri, [ webClient, SyncResetMode resetMode ) : byte[] | ||
HandleDownloadedAppList ( SyncResetMode resetMode, [ appListData ) : void | ||
MergeData ( [ remoteAppList, bool resetClient ) : void |
Merges a new IntegrationManagerBase.AppList with the existing data. Performs a three-way merge using _appListLastSync as base. |
|
UploadAppList ( [ appListUri, [ webClient, SyncResetMode resetMode ) : void |
Upload the encrypted AppList back to the server (unless the client was reset)
|
public Sync ( SyncResetMode resetMode = SyncResetMode.None ) : void | ||
resetMode | SyncResetMode | Controls how synchronization data is reset. |
return | void |
public SyncIntegrationManager ( |
||
server | Access information for the sync server. | |
cryptoKey | [ | The local key used to encrypt data before sending it to the |
feedRetriever | Feed>.[ | Callback method used to retrieve additional |
handler | [ | A callback object used when the the user is to be informed about the progress of long-running operations such as downloads. |
machineWide | bool | Apply operations machine-wide instead of just for the current user. |
return | System |
public SyncIntegrationManager ( [ appListPath, |
||
appListPath | [ | The storage location of the |
server | Access information for the sync server. | |
feedRetriever | Feed>.[ | Callback method used to retrieve additional |
handler | [ | A callback object used when the the user is to be informed about the progress of long-running operations such as downloads. |
machineWide | bool | Apply operations machine-wide instead of just for the current user. |
return | System |