TICDSSynchronizationOperationDelegate Protocol Reference
Conforms to | TICDSOperationDelegate |
Declared in | TICDSClassesAndProtocols.h |
Overview
The TICDSSynchronizationOperationDelegate
protocol defines the methods implemented by delegates of TICDSSynchronizationOperation
or one of its subclasses. In the TICoreDataSync
framework, these delegate methods are implemented by the document sync manager.
Tasks
-
– synchronizationOperation:processedChangeNumber:outOfTotalChangeCount:fromClientWithID:
Informs the delegate that the operation has processed a sync change from a client. The delegate should pass this info on to its own delegate.
required method -
– synchronizationOperation:pausedToDetermineResolutionOfConflict:
Informs the delegate that the operation has been paused because of a conflict. The delegate should query its own delegate to ask how to resolve the conflict.
required method -
– synchronizationOperationResumedFollowingResolutionOfConflict:
Informs the delegate that the operation has resumed after being told how to resolve the conflict.
required method
Instance Methods
synchronizationOperation:pausedToDetermineResolutionOfConflict:
Informs the delegate that the operation has been paused because of a conflict. The delegate should query its own delegate to ask how to resolve the conflict.
- (void)synchronizationOperation:(TICDSSynchronizationOperation *)anOperation pausedToDetermineResolutionOfConflict:(id)aConflict
Parameters
- anOperation
The operation object that sent the message.
- aConflict
The conflict.
Declared In
TICDSClassesAndProtocols.h
synchronizationOperation:processedChangeNumber:outOfTotalChangeCount:fromClientWithID:
Informs the delegate that the operation has processed a sync change from a client. The delegate should pass this info on to its own delegate.
- (void)synchronizationOperation:(TICDSSynchronizationOperation *)anOperation processedChangeNumber:(NSNumber *)changeNumber outOfTotalChangeCount:(NSNumber *)totalChangeCount fromClientWithID:(NSString *)clientIdentifier
Parameters
- anOperation
The operation object that sent the message.
- changeNumber
The number of the change that was processed so it can be presented to the user like 2 of 10.
- totalChangeCount
The total number of changes that will be processed.
- clientIdentifier
The unique ID of the client whose changes we are processing.
Declared In
TICDSClassesAndProtocols.h
synchronizationOperationResumedFollowingResolutionOfConflict:
Informs the delegate that the operation has resumed after being told how to resolve the conflict.
- (void)synchronizationOperationResumedFollowingResolutionOfConflict:(TICDSSynchronizationOperation *)anOperation
Parameters
- anOperation
The operation object that sent the message.
Declared In
TICDSClassesAndProtocols.h