Objective-CclassIMDaemonCore
IMDCKMessageSyncController
@interface IMDCKMessageSyncController : IMDCKAbstractSyncController
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 98
- method
+ (id)sharedInstance; - ivar
IMDCKMessageSyncCKOperationFactory *_CKOperationFactory;+0x58 - ivar
CKServerChangeToken *_archivedRecordSyncToken;+0x38 - ivar
NSObject<OS_dispatch_queue> *_ckQueue;+0x40 - ivar
unsigned long long _deviceConditionsToCheck;+0x60 - ivar
BOOL _encounteredIncompatibleMessage;+0x30 - ivar
IMDRecordZoneManager *_recordZoneManager;+0x48 - ivar
id <SyncTokenStoreProviding> _syncTokenStore;+0x50 - ivar
NSMutableDictionary *_visitedChats;+0x68 - method
- (void).cxx_destruct; - method
- (id)CKOperationFactory; - method
- (id)_changeTokenKey; - method
- (id)_chatRegistry; - method
- (id)_ckUtilitiesInstance; - method
- (id)_constructMessageRecordIDUsingTombStoneDictionary:(id)arg0; - method
- (id)_copyRecordIDsToDeleteWithLimit:(unsigned long long)arg0; - method
- (void)_deleteMessagesWithRecordIDs:(id)arg0 completion:(id /* block */)arg1; - method
- (BOOL)_deviceConditionsAllowsMessageSyncForActivity:(id)arg0 deviceConditionsToCheck:(unsigned long long)arg1 currentBatchCount:(long long)arg2 maxBatchCount:(long long)arg3; - method
- (BOOL)_deviceConditionsAllowsMessageSyncForCurrentBatchCount:(long long)arg0 maxBatchCount:(long long)arg1 activity:(id)arg2; - method
- (BOOL)_doesAnyRecordZoneIDHavePendingArchivedRecords:(long long)arg0; - method
- (void)_fetchArchivedRecordsIfNeeded:(BOOL)arg0 currentBatchCount:(long long)arg1 maxNumberOfBatches:(long long)arg2 activity:(id)arg3 withCompletionBlock:(id /* block */)arg4; - method
- (void)_fetchMessageZoneChangesSyncType:(long long)arg0 currentBatchCount:(long long)arg1 maxNumberOfBatches:(long long)arg2 activity:(id)arg3 completionBlock:(id /* block */)arg4; - method
- (void)_hasMarkedAllMessagesAsNeedingSync; - method
- (BOOL)_isCoreDuetSyncForMaxBatchCount:(long long)arg0 activity:(id)arg1; - method
- (BOOL)_isDiskSpaceAvailableForSyncType:(long long)arg0 currentBatchCount:(long long)arg1; - method
- (BOOL)_isValidCKRecordToSync:(id)arg0; - method
- (BOOL)_kickOffWriteIfNeededForSyncType:(long long)arg0 activity:(id)arg1 completion:(id /* block */)arg2; - method
- (void)_kickOffWriteOnCKQueueWithActivity:(id)arg0 completion:(id /* block */)arg1; - method
- (void)_markAllIncompatibleMessagesForDeletion; - method
- (void)_markAllUnsuccessFullSyncMessagesAsNeedingSync; - method
- (unsigned long long)_messageDeleteBatchSize; - method
- (id)_messageRecordSalt; - method
- (BOOL)_messageZoneCreated; - method
- (id)_messageZoneID; - method
- (void)_migrateSyncTokens; - method
- (void)_needsToMarkAllMessagesAsNeedingSync; - method
- (void)_noteSyncEnded; - method
- (long long)_numberOfBatchesOfMessagesToFetchInInitialSync; - method
- (unsigned long long)_numberOfMessagesToUpload; - method
- (unsigned long long)_numberOfRecordsToFetchForSyncType:(long long)arg0; - method
- (id)_operationErrorForModifyingRecordCompletion:(id)arg0; - method
- (void)_processArchivedRecordsFetchCompletionZoneID:(id)arg0 serverChangeToken:(id)arg1 moreComing:(BOOL)arg2 currentBatchCount:(long long)arg3 maxNumberOfBatches:(long long)arg4 activity:(id)arg5 error:(id)arg6 completionBlock:(id /* block */)arg7; - method
- (void)_processFetchArchivedRecordCompletionWithError:(id)arg0 WithCompletionBlock:(id /* block */)arg1; - method
- (void)_processFetchRecordZoneChangesCompletionWithError:(id)arg0 completionBlock:(id /* block */)arg1; - method
- (void)_processModifyRecordsCompletion:(id)arg0 deletedRecordIDs:(id)arg1 operationError:(id)arg2 isLastBatchOfWrite:(BOOL)arg3 activity:(id)arg4 writeCompletionBlock:(id /* block */)arg5; - method
- (void)_processRecordChange:(id)arg0; - method
- (void)_processRecordDeletionCompletion:(id)arg0 error:(id)arg1 completionBlock:(id /* block */)arg2; - method
- (void)_processRecordWriteCompletionForRecord:(id)arg0 NSError:(id)arg1; - method
- (void)_processRecordZoneFetchCompletionZoneID:(id)arg0 serverChangeToken:(id)arg1 clientChangeTokenData:(id)arg2 moreComing:(BOOL)arg3 NSError:(id)arg4 syncType:(long long)arg5 currentBatchCount:(long long)arg6 maxNumberOfBatches:(long long)arg7 shouldFetchArchivedRecords:(BOOL)arg8 activity:(id)arg9 completionBlock:(id /* block */)arg10; - method
- (id)_recordKeyManagerSharedInstance; - method
- (id)_recordsToSave; - method
- (id)_recordsToSaveWithAttemptCount:(unsigned long long)arg0; - method
- (void)_resetArvchivedRecordSyncToken; - method
- (void)_resetSyncToken; - method
- (void)_scheduleOperation:(id)arg0; - method
- (id)_sharedIMDMessageStore; - method
- (BOOL)_shouldDeferCoreDuetMessagesSyncWithActivity:(id)arg0; - method
- (BOOL)_shouldFetchArchivedRecords:(id)arg0; - method
- (BOOL)_shouldMarkAllMessagesAsNeedingSync; - method
- (id)_syncOperationGroupName; - method
- (void)_updateDeviceConditionsToCheckIfNeededForCurrentBatchCount:(long long)arg0 maxBatchCount:(long long)arg1; - method
- (void)_writeDirtyMessagesToCloudKitWithActivity:(id)arg0 completion:(id /* block */)arg1; - method
- (id)archivedRecordSyncToken; - method
- (id)ckQueue; - method
- (void)clearLocalSyncState:(unsigned long long)arg0; - method
- (void)deleteChatBotMessageSyncToken; - method
- (void)deleteMessageSyncToken; - method
- (void)deleteMessagesZone; - method
- (unsigned long long)deviceConditionsToCheck; - method
- (BOOL)encounteredIncompatibleMessage; - method
- (void)incompatibleMessageDeleteDetected:(id)arg0; - method
- (id)init; - method
- (id)initWithSyncTokenStore:(id)arg0; - method
- (id)latestSyncToken; - method
- (id)recordZoneManager; - method
- (void)setArchivedRecordSyncToken:(id)arg0; - method
- (void)setCKOperationFactory:(id)arg0; - method
- (void)setCkQueue:(id)arg0; - method
- (void)setDeviceConditionsToCheck:(unsigned long long)arg0; - method
- (void)setEncounteredIncompatibleMessage:(BOOL)arg0; - method
- (void)setLatestSyncToken:(id)arg0; - method
- (void)setRecordZoneManager:(id)arg0; - method
- (void)setSyncTokenStore:(id)arg0; - method
- (void)setVisitedChats:(id)arg0; - method
- (long long)syncControllerRecordType; - method
- (void)syncDeletedMessagesToCloudKitWithCompletion:(id /* block */)arg0; - method
- (void)syncMessagesWithSyncType:(long long)arg0 deviceConditionsToCheck:(unsigned long long)arg1 activity:(id)arg2 completionBlock:(id /* block */)arg3; - method
- (id)syncTokenStore; - method
- (id)visitedChats; - property
@property(retain, nonatomic) IMDCKMessageSyncCKOperationFactory *CKOperationFactory; - property
@property(retain, nonatomic) CKServerChangeToken *archivedRecordSyncToken; - property
@property(retain, nonatomic) NSObject<OS_dispatch_queue> *ckQueue; - property
@property(nonatomic) unsigned long long deviceConditionsToCheck; - property
@property(nonatomic) BOOL encounteredIncompatibleMessage; - property
@property(retain, nonatomic) CKServerChangeToken *latestSyncToken; - property
@property(retain, nonatomic) IMDRecordZoneManager *recordZoneManager; - property
@property(retain, nonatomic) id <SyncTokenStoreProviding> syncTokenStore; - property
@property(retain, nonatomic) NSMutableDictionary *visitedChats;
Header
@interface IMDCKMessageSyncController : IMDCKAbstractSyncController { BOOL _encounteredIncompatibleMessage; CKServerChangeToken *_archivedRecordSyncToken; NSObject<OS_dispatch_queue> *_ckQueue; IMDRecordZoneManager *_recordZoneManager; id<SyncTokenStoreProviding> _syncTokenStore; IMDCKMessageSyncCKOperationFactory *_CKOperationFactory; unsigned long long _deviceConditionsToCheck; NSMutableDictionary *_visitedChats; } @property (nonatomic, strong) NSObject<OS_dispatch_queue> *ckQueue; @property (nonatomic, strong) IMDRecordZoneManager *recordZoneManager; @property (nonatomic, strong) id<SyncTokenStoreProviding> syncTokenStore; @property (nonatomic, strong) CKServerChangeToken *latestSyncToken; @property (nonatomic, strong) IMDCKMessageSyncCKOperationFactory *CKOperationFactory; @property (nonatomic, strong) CKServerChangeToken *archivedRecordSyncToken; @property (nonatomic) unsigned long long deviceConditionsToCheck; @property (nonatomic, strong) NSMutableDictionary *visitedChats; @property (nonatomic) BOOL encounteredIncompatibleMessage; + (id)sharedInstance; - (id)syncTokenStore; - (void)_hasMarkedAllMessagesAsNeedingSync; - (void).cxx_destruct; - (void)_markAllUnsuccessFullSyncMessagesAsNeedingSync; - (void)clearLocalSyncState:(unsigned long long)clearLocalSyncState; - (void)_needsToMarkAllMessagesAsNeedingSync; - (id)init; - (void)setVisitedChats:(id)visitedChats; - (long long)syncControllerRecordType; - (BOOL)_shouldMarkAllMessagesAsNeedingSync; - (id)recordZoneManager; - (id)visitedChats; - (void)deleteMessagesZone; - (void)_scheduleOperation:(id)_scheduleOperation; - (void)setRecordZoneManager:(id)recordZoneManager; - (id)CKOperationFactory; - (id)_changeTokenKey; - (id)_recordKeyManagerSharedInstance; - (void)_resetSyncToken; - (id)latestSyncToken; - (id)_recordsToSaveWithAttemptCount:(unsigned long long)attemptCount; - (id)ckQueue; - (id)_chatRegistry; - (id)_ckUtilitiesInstance; - (id)_constructMessageRecordIDUsingTombStoneDictionary:(id)tombStoneDictionary; - (id)_copyRecordIDsToDeleteWithLimit:(unsigned long long)limit; - (void)_deleteMessagesWithRecordIDs:(id)recordIDs completion:(id /* block */)completion; - (BOOL)_deviceConditionsAllowsMessageSyncForActivity:(id)activity deviceConditionsToCheck:(unsigned long long)check currentBatchCount:(long long)currentBatchCount maxBatchCount:(long long)maxBatchCount; - (BOOL)_deviceConditionsAllowsMessageSyncForCurrentBatchCount:(long long)currentBatchCount maxBatchCount:(long long)maxBatchCount activity:(id)activity; - (BOOL)_doesAnyRecordZoneIDHavePendingArchivedRecords:(long long)_doesAnyRecordZoneIDHavePendingArchivedRecords; - (void)_fetchArchivedRecordsIfNeeded:(BOOL)_fetchArchivedRecordsIfNeeded currentBatchCount:(long long)currentBatchCount maxNumberOfBatches:(long long)batches activity:(id)activity withCompletionBlock:(id /* block */)withCompletionBlock; - (void)_fetchMessageZoneChangesSyncType:(long long)_fetchMessageZoneChangesSyncType currentBatchCount:(long long)currentBatchCount maxNumberOfBatches:(long long)batches activity:(id)activity completionBlock:(id /* block */)completionBlock; - (BOOL)_isCoreDuetSyncForMaxBatchCount:(long long)maxBatchCount activity:(id)activity; - (BOOL)_isDiskSpaceAvailableForSyncType:(long long)syncType currentBatchCount:(long long)currentBatchCount; - (BOOL)_isValidCKRecordToSync:(id)sync; - (BOOL)_kickOffWriteIfNeededForSyncType:(long long)syncType activity:(id)activity completion:(id /* block */)completion; - (void)_kickOffWriteOnCKQueueWithActivity:(id)activity completion:(id /* block */)completion; - (void)_markAllIncompatibleMessagesForDeletion; - (unsigned long long)_messageDeleteBatchSize; - (id)_messageRecordSalt; - (BOOL)_messageZoneCreated; - (id)_messageZoneID; - (void)_migrateSyncTokens; - (void)_noteSyncEnded; - (long long)_numberOfBatchesOfMessagesToFetchInInitialSync; - (unsigned long long)_numberOfMessagesToUpload; - (unsigned long long)_numberOfRecordsToFetchForSyncType:(long long)syncType; - (id)_operationErrorForModifyingRecordCompletion:(id)modifyingRecordCompletion; - (void)_processArchivedRecordsFetchCompletionZoneID:(id)_processArchivedRecordsFetchCompletionZoneID serverChangeToken:(id)serverChangeToken moreComing:(BOOL)moreComing currentBatchCount:(long long)currentBatchCount maxNumberOfBatches:(long long)batches activity:(id)activity error:(id)error completionBlock:(id /* block */)completionBlock; - (void)_processFetchArchivedRecordCompletionWithError:(id)error WithCompletionBlock:(id /* block */)completionBlock; - (void)_processFetchRecordZoneChangesCompletionWithError:(id)error completionBlock:(id /* block */)completionBlock; - (void)_processModifyRecordsCompletion:(id)_processModifyRecordsCompletion deletedRecordIDs:(id)deletedRecordIDs operationError:(id)operationError isLastBatchOfWrite:(BOOL)write activity:(id)activity writeCompletionBlock:(id /* block */)writeCompletionBlock; - (void)_processRecordChange:(id)_processRecordChange; - (void)_processRecordDeletionCompletion:(id)_processRecordDeletionCompletion error:(id)error completionBlock:(id /* block */)completionBlock; - (void)_processRecordWriteCompletionForRecord:(id)record NSError:(id)nSError; - (void)_processRecordZoneFetchCompletionZoneID:(id)_processRecordZoneFetchCompletionZoneID serverChangeToken:(id)serverChangeToken clientChangeTokenData:(id)clientChangeTokenData moreComing:(BOOL)moreComing NSError:(id)nSError syncType:(long long)syncType currentBatchCount:(long long)currentBatchCount maxNumberOfBatches:(long long)batches shouldFetchArchivedRecords:(BOOL)shouldFetchArchivedRecords activity:(id)activity completionBlock:(id /* block */)completionBlock; - (id)_recordsToSave; - (void)_resetArvchivedRecordSyncToken; - (id)_sharedIMDMessageStore; - (BOOL)_shouldDeferCoreDuetMessagesSyncWithActivity:(id)activity; - (BOOL)_shouldFetchArchivedRecords:(id)_shouldFetchArchivedRecords; - (id)_syncOperationGroupName; - (void)_updateDeviceConditionsToCheckIfNeededForCurrentBatchCount:(long long)currentBatchCount maxBatchCount:(long long)maxBatchCount; - (void)_writeDirtyMessagesToCloudKitWithActivity:(id)activity completion:(id /* block */)completion; - (id)archivedRecordSyncToken; - (void)deleteChatBotMessageSyncToken; - (void)deleteMessageSyncToken; - (unsigned long long)deviceConditionsToCheck; - (BOOL)encounteredIncompatibleMessage; - (void)incompatibleMessageDeleteDetected:(id)incompatibleMessageDeleteDetected; - (id)initWithSyncTokenStore:(id)syncTokenStore; - (void)setArchivedRecordSyncToken:(id)archivedRecordSyncToken; - (void)setCKOperationFactory:(id)cKOperationFactory; - (void)setCkQueue:(id)ckQueue; - (void)setDeviceConditionsToCheck:(unsigned long long)check; - (void)setEncounteredIncompatibleMessage:(BOOL)encounteredIncompatibleMessage; - (void)setLatestSyncToken:(id)latestSyncToken; - (void)setSyncTokenStore:(id)syncTokenStore; - (void)syncDeletedMessagesToCloudKitWithCompletion:(id /* block */)completion; - (void)syncMessagesWithSyncType:(long long)syncType deviceConditionsToCheck:(unsigned long long)check activity:(id)activity completionBlock:(id /* block */)completionBlock; @end