|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SmartSync uses Notifier/ Observer design pattern for applications to access in-/ out- box. By using the InboxNotifier, with SyncBoInDeltaObserver and MessageReplyObserver interfaces, applications can:
SmartSyncRuntime
Method Summary | |
ErrorConflictInbox |
getErrorConflictInbox()
Returns the ErrorConflictInbox instance. |
boolean |
isSyncStatusComplete()
Returns true iff the synchronization status for last sync is
complete. |
void |
registerMessageReplyObserver(MessageReplyObserver messageReplyObserver)
Registers a MessageReplyObserver instance. |
void |
registerSyncBoInDeltaObserver(SyncBoInDeltaObserver syncBoInDeltaObserver)
Deprecated. avoid using SyncBoInDeltaObserver which reduces
performance if inbound processing. Use instead SyncReplyObserver
and MessageReplyObserver to get informed about success, error
or conflict responses from backend. |
void |
registerSyncReplyObserver(SyncReplyObserver syncReplyObserver)
Registers a SYncReplyObserver instance. |
void |
resetSyncStatusToComplete()
Resets the synchroization status for last download request to complete. . |
Method Detail |
public void registerMessageReplyObserver(MessageReplyObserver messageReplyObserver)
messageReplyObserver
- instancepublic void registerSyncReplyObserver(SyncReplyObserver syncReplyObserver)
syncReplyObserver
- instancepublic void registerSyncBoInDeltaObserver(SyncBoInDeltaObserver syncBoInDeltaObserver)
SyncBoInDeltaObserver
which reduces
performance if inbound processing. Use instead SyncReplyObserver
and MessageReplyObserver
to get informed about success, error
or conflict responses from backend.
syncBoInDeltaObserver
- instancepublic boolean isSyncStatusComplete()
true
iff the synchronization status for last sync is
complete.
true
iff the synchronization status for last sync is
completepublic void resetSyncStatusToComplete()
public ErrorConflictInbox getErrorConflictInbox()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |