SoC:RoamingSupport: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:


=== The Sync 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 will be the control center for sync updates and notifications. Classes who are interested in syncing would implement an 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.
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 ===
The idea of storage on either the IMAP or POP3 level involves the use of a complete sync message, and corresponding delta messages for each update since the last complete sync message.
The idea of storage on either the IMAP or POP3 level involves the use of a complete sync message, and corresponding delta messages for each update since the last complete sync message.
36

edits

Navigation menu