36
edits
mNo edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
The pull operation would request data (again in a to-be-determined structure) from the object into the synchronization service. | The pull operation would request data (again in a to-be-determined structure) from the object into the synchronization service. | ||
=== The Sync Service === | |||
This service will be the control center for sync updates and notifications. Classes who are interested in syncing would implement a observer interface (ex. <code>|nsIObserver|</code>). An interface would register itself based on the type of data that it uses. The Sync Service would handle all of the transactions between the observed data objects and the delta update messages. | |||
This service would also handle the dispatching of update messages. Ideally, another class would handle the gory details for message creation and maintenance of the delta messages and the full sync message. | |||
=== Delta Update Messages === | === Delta Update Messages === | ||
edits