SoC:RoamingSupport
		
		
		
		Jump to navigation
		Jump to search
		
Delivery
- Build a message w/ attachments
- Used for both IMAP and Mail delivery cases
 
Syncing
- Items to Sync:
- Address Book
- Mail Filters
- Saved Searches
- Newsrc files
- etc.. (add more)
 
- When to sync?
- on a set interval (pref?)
- shutdown
 
Etc..
- 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:
 
 
- Make the feature extensible
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|