SoC:RoamingSupport

From MozillaWiki
Revision as of 21:19, 3 June 2007 by Knick (talk | contribs)
Jump to navigation Jump to search

Delivery

  • Build a message w/ attachments
    • Used for both IMAP and Mail delivery cases

Service Synchronization Notes

  • Items to Sync:
    • Address Book
    • Mail Filters
    • Saved Searches
    • Newsrc files
    • etc.. (add more)
  • When to sync?
    • on a set interval (pref?)
    • shutdown

Things to keep in mind:

  • Make the feature extensible
    • A simple interface to inherit?
  • Need a way to know that an object has changed
  • A way to stream the object to a file, or a file pointer
    • for newsrc files, filters, (anything that uses a file)
  • Things that aren't stored as a file:
    • Account Information
    • About everything in account.js
      • Sync tag definitions
    • An interface that parses and applies these changes:

Below contains notes for potential hooks for notifying an interface (service possibly) that an object has changed and needs to be synced. These locations might also be ideal for points of entry where the notifying interface could inform the object of changes from an external source.

Address Book Synchronization Ideas:

  • Some object that extends from |nsIAbListener|
    • |nsAbDirectoryDataSource|
    • |nsAbView|

Mail Filters Synchronization Ideas

Saved Searches Synchronization Ideas

News RC Synchronization Ideas