Operation Task Diagrams - nothirst/TICoreDataSync GitHub Wiki

Diagrams showing task and execution flow for the underlying TICoreDataSync operations

The generic operation objects used by TICoreDataSync to perform synchronization tasks follow a very specific sequence.

Editor's note: These diagrams have remain unchanged from the early days of development on the framework, but they are mostly still correct and do a good job providing a high level overview of the framework.

TICDSApplicationRegistrationOperation

The TICDSApplicationRegistrationOperation class deals with registering an application for the first time, checking for or enabling encryption, and registering a client for the first time.

TICDSApplicationRegistrationOperation task diagram Full Size

TICDSDocumentRegistrationOperation

The TICDSDocumentRegistrationOperation class deals with registering a document, or a client for that document for the first time.

TICDSDocumentRegistrationOperation task diagram Full Size

TICDSListOfPreviouslySynchronizedDocumentsOperation

The TICDSListOfPreviouslySynchronizedDocumentsOperation class deals with fetching a list of the documents for which synchronization data exists on the remote (i.e., that have previously been registered for synchronization by a client).

TICDSListOfPreviouslySynchronizedDocumentsOperation task diagram Full Size

TICDSWholeStoreUploadOperation

The TICDSWholeStoreUploadOperation class deals with uploading the entire document store file from a client.

TICDSWholeStoreUploadOperation task diagram Full Size

TICDSWholeStoreDownloadOperation

The TICDSWholeStoreDownloadOperation class deals with downloading the entire document store file for a client.

TICDSWholeStoreDownloadOperation task diagram Full Size

TICDSSynchronizationOperation

The TICDSSynchronizationOperation class deals with synchronizing changes between clients.

TICDSSynchronizationOperation task diagram Full Size

TICDSVacuumOperation

The TICDSVacuumOperation class deals with cleaning up remote synchronization files that are no longer needed by registered clients (such as sets of changes that have been applied by all clients).

TICDSVacuumOperation task diagram Full Size

TICDSDocumentDeletionOperation

The TICDSDocumentDeletionOperation class deals with deleting all the remote sync files for a given document.

TICDSDocumentDeletionOperation task diagram Full Size

TICDSListOfApplicationRegisteredClientsOperation

The TICDSListOfApplicationRegisteredClientsOperation class deals with fetching a list of clients that are registered to synchronize with an application.

TICDSListOfApplicationRegisteredClientsOperation task diagram Full Size

TICDSListOfDocumentRegisteredClientsOperation

The TICDSListOfDocumentRegisteredClientsOperation class deals with fetching a list of clients that are registered to synchronize with a document.

TICDSListOfDocumentRegisteredClientsOperation task diagram Full Size

TICDSDocumentClientDeletionOperation

The TICDSDocumentClientDeletionOperation class deals with the deletion of the directories used by a client to synchronize with a document.

TICDSDocumentClientDeletionOperation task diagram Full Size