SIKISyncEvents Protocol Reference

Conforms to NSObject
Declared in SIKISyncEvents.h

Overview

It is a blue print for class which handles sync events

– onStart: required method

This method is called then a Sync is started.

In this you can initialize resources related to Sync.

Once OnStart has finished, Connect will call OnQueue.

- (void)onStart:(id<SIKISyncRequest>)syncRequest

Parameters

syncRequest

ISyncRequest instance

Discussion

This method is called then a Sync is started.

In this you can initialize resources related to Sync.

Once OnStart has finished, Connect will call OnQueue.

Declared In

SIKISyncEvents.h

– onQueue: required method

This method is called then the Sync request is added to the Queue.

- (void)onQueue:(id<SIKISyncRequest>)syncRequest

Parameters

syncRequest

ISyncRequest instance

Discussion

This method is called then the Sync request is added to the Queue.

Declared In

SIKISyncEvents.h

– onFinish: required method

This method is called then Sync request completes its all synchronization data with web service.

- (void)onFinish:(id<SIKISyncRequest>)syncRequest

Parameters

syncRequest

ISyncRequest instance

Discussion

This method is called then Sync request completes its all synchronization data with web service.

Declared In

SIKISyncEvents.h

– onTerminate: required method

This method is called if there is any error/exception while synchronizing data with web service

- (void)onTerminate:(id<SIKISyncRequest>)syncRequest

Parameters

syncRequest

ISyncRequest instance

Discussion

This method is called if there is any error/exception while synchronizing data with web service

Declared In

SIKISyncEvents.h