luxlabs header browser preview


@class NSUUID, NSString, SYVectorClock, NSError, NSMutableDictionary, SYRetryTimer, NSObject, SYPersistentStore, NSMutableIndexSet, NMSMessageCenter;
@protocol OS_dispatch_queue, OS_dispatch_source, OS_os_transaction;

@interface SYLegacyStore : SYStore <IDSServiceDelegate, NMSMessageCenterDelegate> {
    unsigned long long _batchCounter;
    NSMutableIndexSet *_batchChunkUnackedIndices;
    BOOL _tracksChanges;
    NSMutableDictionary *_sendSignals;
    SYRetryTimer *_syncRetryTimer;
    NSObject<OS_dispatch_source> *_overflowRetryTimer;
    NSError *_overflowRetryError;
    BOOL _deferredFullSync;
    NSObject<OS_os_transaction> *_transaction;
}

@property (retain, nonatomic) NSString *service;
@property (retain, nonatomic) NSString *databaseFileName;
@property (nonatomic) long long priority;
@property (nonatomic) BOOL encryptPayloads;
@property (nonatomic) BOOL alwaysWins;
@property (retain, nonatomic) SYPersistentStore *persistentStore;
@property (retain, nonatomic) NSObject<OS_dispatch_queue> *queue;
@property (nonatomic) struct __CFString { } *loggingFacility;
@property (retain, nonatomic) NSUUID *pairedDeviceID;
@property (nonatomic) BOOL registeredNotificationHandlers;
@property (retain, nonatomic) NMSMessageCenter *messageCenter;
@property (retain, nonatomic) SYVectorClock *vectorClock;
@property (nonatomic) BOOL fullSyncWasRequestedBySlave;
@property (copy, nonatomic) id /* block */ nextBatchStep;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (id)fullSyncActivityDictionary;

- (BOOL)isPaired;
- (void)_vectorClockUpdated;
- (void)dealloc;
- (long long)state;
- (BOOL)objectChanged:(id)a0 sinceVersion:(unsigned long long)a1;
- (double)timeToLive;
- (BOOL)inFullSync;
- (void)_copyPeerClockFromMessageHeaderIfNecessary:(id)a0;
- (id)initWithService:(id)a0;
- (void)messageCenter:(id)a0 didResolveIDSIdentifierForRequest:(id)a1;
- (void).cxx_destruct;
- (void)setupDatabase;
- (id)initWithBundleIdentifier:(id)a0;
- (void)setDelegate:(id)a0;
- (void)setTimeToLive:(double)a0;
- (void)setTracksChanges:(BOOL)a0;
- (BOOL)tracksChanges;
- (void)_prefsChanged;
- (void)messageCenter:(id)a0 didReceiveUnknownRequest:(id)a1;
- (void)_sendBatchChunk:(id)a0 withState:(id)a1 then:(id /* block */)a2;
- (void)didEndDeltaSync;
- (void)handleFullSyncRequest:(id)a0 response:(id)a1;
- (void)setDeliveryQOS:(unsigned int)a0;
- (void)performFullSync;
- (BOOL)_allowDeltaSyncWithContext:(id)a0 error:(id *)a1;
- (id)_batchChunkUnackedIndices;
- (BOOL)_checkMessageHeader:(id)a0 messageID:(id)a1;
- (void)_devicePaired:(id)a0;
- (void)_deviceUnpaired:(id)a0;
- (id)_getPairedDeviceID;
- (id)_getPairingStorePath;
- (void)_handleIDSOverflowWithError:(id)a0;
- (void)_handleObjectChanges:(id)a0 contextInfo:(id)a1 idsOptions:(id)a2 blockUntilSent:(BOOL)a3 reportError:(id /* block */)a4 notifyingTransaction:(id)a5;
- (BOOL)_isPairedWithDevice:(id)a0;
- (BOOL)_isUsingGenericCache;
- (void)_listenForPrefsChangeNotifications;
- (id)_pathForMessageCenterCache;
- (void)_postBatchEndMessageWithState:(id)a0 error:(id)a1 then:(id /* block */)a2;
- (void)_postBatchStartMessageWithState:(id)a0 then:(id /* block */)a1;
- (void)_postVersionRejectedForMessageID:(id)a0;
- (void)_recordLastSeqNo:(id)a0;
- (void)_restartBatchSyncWithState:(id)a0 then:(id /* block */)a1;
- (void)_retrySync;
- (void)_setupMessageCenter_LOCKED;
- (BOOL)_shouldIgnoreSyncID:(id)a0;
- (BOOL)_shouldSkipNonSyncMessages;
- (void)_syncEndedWithSyncID:(id)a0;
- (void)_transaction:(id /* block */)a0 context:(id)a1 idsOptions:(id)a2 blockUntilSent:(BOOL)a3 reportError:(id /* block */)a4;
- (void)_updateMessageCenterPrefs:(id)a0;
- (BOOL)addObject:(id)a0 context:(id)a1 idsOptions:(id)a2 error:(id *)a3;
- (BOOL)deleteObject:(id)a0 context:(id)a1 idsOptions:(id)a2 error:(id *)a3;
- (void)handleBatchSyncChunk:(id)a0 response:(id)a1;
- (void)handleBatchSyncEnd:(id)a0 response:(id)a1;
- (void)handleBatchSyncStart:(id)a0;
- (void)handleChangeMessage:(id)a0;
- (void)handleObjectChanges:(id)a0 contextInfo:(id)a1 idsOptions:(id)a2 blockUntilSent:(BOOL)a3 reportError:(id /* block */)a4;
- (void)handleSyncAllObjects:(id)a0 response:(id)a1;
- (BOOL)hasCompletedFullSync;
- (BOOL)inDeltaSync;
- (id)initWithBundleIdentifier:(id)a0 isGStore:(BOOL)a1 highPriority:(BOOL)a2;
- (id)initWithService:(id)a0 isGStore:(BOOL)a1 highPriority:(BOOL)a2;
- (id)initWithService:(id)a0 isGStore:(BOOL)a1 highPriority:(BOOL)a2 isMasterStore:(BOOL)a3;
- (id)initWithService:(id)a0 isGStore:(BOOL)a1 highPriority:(BOOL)a2 isMasterStore:(BOOL)a3 tracksChanges:(BOOL)a4;
- (id)initWithService:(id)a0 isGStore:(BOOL)a1 priority:(long long)a2 isMasterStore:(BOOL)a3;
- (id)initWithService:(id)a0 isGStore:(BOOL)a1 priority:(long long)a2 isMasterStore:(BOOL)a3 tracksChanges:(BOOL)a4;
- (void)logChanges:(id)a0;
- (long long)maxBytesInFlight;
- (void)messageCenter:(id)a0 didResolveIDSIdentifier:(id)a1 forResponse:(id)a2;
- (void)messageCenter:(id)a0 didSuccessfullyDeliverRequestWithIdentifier:(id)a1 userInfo:(id)a2;
- (void)messageCenter:(id)a0 didSuccessfullySendRequestWithIdentifier:(id)a1 userInfo:(id)a2;
- (id)newFullSyncContext;
- (id)newMessageHeader;
- (BOOL)peerState:(id)a0 fromPeer:(id)a1 matchesExpectationForChangeCount:(unsigned long long)a2 offsetAmount:(unsigned long long *)a3;
- (BOOL)performBatchedSyncToCurrentDBVersion;
- (void)performFullSyncIfNecessary;
- (void)performFullSyncIfNecessaryAskingDelegate:(BOOL)a0;
- (void)performFullSyncToCurrentDBVersion;
- (void)postUserNotification:(id)a0 message:(id)a1;
- (void)processBatchChunkAck:(unsigned int)a0;
- (BOOL)processBatchChunkAtIndex:(unsigned int)a0 encodedObjects:(id)a1 error:(id *)a2;
- (void)processBatchSyncEnd:(unsigned long long)a0;
- (void)processBatchSyncStart;
- (void)remoteStoreAllObjects:(id)a0 fromPeer:(id)a1 clock:(id)a2;
- (void)remoteStoreRequestFullSync;
- (void)sendChanges:(id)a0 context:(id)a1 options:(id)a2 sentSignal:(id)a3;
- (void)sendMessage:(id)a0 ofType:(unsigned short)a1 respondingTo:(id)a2 userInfo:(id)a3 idsOptions:(id)a4;
- (void)setMaxBytesInFlight:(long long)a0;
- (void)setNeedsFullSyncWithContext:(id)a0 idsOptions:(id)a1;
- (void)setupMessageCenter;
- (void)setupPairingNotifications;
- (BOOL)updateObject:(id)a0 context:(id)a1 idsOptions:(id)a2 error:(id *)a3;
- (void)willBeginDeltaSync;
- (id)wrapMessage:(id)a0 ofType:(unsigned short)a1 respondingTo:(id)a2 userInfo:(id)a3;

@end