com.funambol.push
Interface SyncSchedulerListener
public interface SyncSchedulerListener
A simple interface for building a SyncSchedulerListener.
A SyncSchedulerListener is used by the SyncScheduler to notify the client on
the expiration of the sync requests. The typical use case is that the client
"programs" the scheduler for a sync at a certain time. When this time
expires, the SyncScheduler invokes the callback method to fire the sync.
When a request is registered, it can be accompanied by an object which is
later on passed to the sync method. This provides clients with the
flexibility to associate arbitrary information to the sync.
Method Summary |
void |
sync(java.lang.Object[] requestContent)
Invoked by the SyncScheduler when a sync needs to be started |
sync
void sync(java.lang.Object[] requestContent)
- Invoked by the SyncScheduler when a sync needs to be started
- Parameters:
requestContents
- to sync
Copyright © 2001-2009 Funambol.