Objective-CclassCompanionSync
SYSession
@interface SYSession : NSObject <SYChangeSerializer, SYStateLoggable>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolSYChangeSerializer
- protocolSYStateLoggable
Members 157
- method
+ (id)allocWithZone:(struct _NSZone *)arg0; - method
+ (id)unarchiveMetadata:(id)arg0; - ivar
double _birthDate;+0xb8 - ivar
id <SYSessionDelegate> _delegate;+0x50 - ivar
NSObject<OS_dispatch_queue> *_delegateQueue;+0x8 - ivar
NSError *_error;+0x98 - ivar
double _fullSessionTimeout;+0x80 - ivar
BOOL _hasRejectedPeerSessionForAge;+0x31 - ivar
BOOL _hasRejectedPeerSessionForNoGeneration;+0x30 - ivar
NSString *_identifier;+0x60 - ivar
_Atomic BOOL _inTransaction;+0x10 - ivar
BOOL _isSending;+0x44 - ivar
long long _maxConcurrentMessages;+0x90 - ivar
NSDictionary *_options;+0x88 - ivar
_Atomic BOOL _paused;+0x20 - ivar
NSMutableDictionary *_peerGenerationIDs;+0xc8 - ivar
NSMutableSet *_pendingMessageIDs;+0x28 - ivar
double _perMessageTimeout;+0x78 - ivar
long long _priority;+0x48 - ivar
NSObject<OS_dispatch_queue> *_queue;+0xb0 - ivar
NSString *_reason;+0x70 - ivar
id <SYChangeSerializer> _serializer;+0x58 - ivar
SYService *_service;+0x68 - ivar
NSDictionary *_sessionMetadata;+0xa8 - ivar
unsigned long long _sessionSignpost;+0xc0 - ivar
BOOL _sessionStarted;+0x32 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _setDelegateLock;+0x40 - ivar
NSMutableArray *_stateResponders;+0x38 - ivar
NSObject<OS_os_transaction> *_transaction;+0x18 - ivar
NSDictionary *_userContext;+0xa0 - method
- (void).cxx_destruct; - method
- (id)CPSafeDescription; - method
- (BOOL)_beginTransaction; - method
- (id)_cancelPendingMessagesReturningFailures; - method
- (void)_clearOutgoingMessageUUID:(id)arg0; - method
- (void)_continue; - method
- (BOOL)_endTransaction; - method
- (void)_handleEndSession:(id)arg0 response:(id)arg1 completion:(id /* block */)arg2; - method
- (BOOL)_handleEndSessionResponse:(id)arg0 error:(id *)arg1; - method
- (void)_handleError:(id)arg0; - method
- (void)_handleRestartSession:(id)arg0 response:(id)arg1 completion:(id /* block */)arg2; - method
- (BOOL)_handleRestartSessionResponse:(id)arg0 error:(id *)arg1; - method
- (BOOL)_handleStartSessionResponse:(id)arg0 error:(id *)arg1; - method
- (void)_handleSyncBatch:(id)arg0 response:(id)arg1 completion:(id /* block */)arg2; - method
- (BOOL)_handleSyncBatchResponse:(id)arg0 error:(id *)arg1; - method
- (void)_onSessionStateChangedFromNotStarted:(id /* block */)arg0; - method
- (void)_pause; - method
- (void)_peerProcessedMessageWithIdentifier:(id)arg0 userInfo:(id)arg1; - method
- (BOOL)_readyToProcessIncomingMessages; - method
- (void)_recordOutgoingMessageUUID:(id)arg0; - method
- (void)_resolvedIdentifier:(id)arg0 forResponse:(id)arg1; - method
- (void)_resolvedIdentifierForRequest:(id)arg0; - method
- (void)_sentMessageWithIdentifier:(id)arg0 userInfo:(id)arg1; - method
- (void)_setStateQuietly:(unsigned int)arg0; - method
- (void)_supercededWithSession:(id)arg0; - method
- (BOOL)_willAcquiesceToNewSessionFromPeer:(id)arg0; - method
- (double)birthDate; - method
- (BOOL)canRestart; - method
- (BOOL)canRollback; - method
- (void)cancel; - method
- (void)cancelWithError:(id)arg0; - method
- (void)cancelWithUnderlyingReason:(id)arg0; - method
- (id)changeFromData:(id)arg0 ofType:(long long)arg1; - method
- (id)combinedEngineOptions:(id)arg0; - method
- (id)dataFromChange:(id)arg0; - method
- (void)dealloc; - method
- (id)decodeChangeData:(id)arg0 fromProtocolVersion:(long long)arg1 ofType:(long long)arg2; - method
- (id)delegate; - method
- (void)didCompleteSession; - method
- (void)didStartSession; - method
- (id)encodeSYChangeForBackwardCompatibility:(id)arg0 protocolVersion:(long long)arg1; - method
- (id)error; - method
- (double)fullSessionTimeout; - method
- (BOOL)hasRejectedPeerSessionForAge; - method
- (id)identifier; - method
- (id)initWithService:(id)arg0; - method
- (BOOL)isResetSync; - method
- (BOOL)isSending; - method
- (long long)maxConcurrentMessages; - method
- (id)options; - method
- (id)peerGenerationIDs; - method
- (double)perMessageTimeout; - method
- (long long)priority; - method
- (unsigned long long)protocolVersion; - method
- (id)queue; - method
- (id)reason; - method
- (double)remainingSessionTime; - method
- (unsigned long long)sentChangeByteCount; - method
- (unsigned long long)sentChangeCount; - method
- (id)serializer; - method
- (id)service; - method
- (id)sessionMetadata; - method
- (unsigned long long)sessionSignpost; - method
- (void)setBirthDate:(double)arg0; - method
- (void)setCanRestart:(BOOL)arg0; - method
- (void)setCanRollback:(BOOL)arg0; - method
- (void)setDelegate:(id)arg0; - method
- (void)setError:(id)arg0; - method
- (void)setFullSessionTimeout:(double)arg0; - method
- (void)setHasRejectedPeerSessionForAge:(BOOL)arg0; - method
- (void)setIdentifier:(id)arg0; - method
- (void)setMaxConcurrentMessages:(long long)arg0; - method
- (void)setOptions:(id)arg0; - method
- (void)setPeerGenerationIDs:(id)arg0; - method
- (void)setPerMessageTimeout:(double)arg0; - method
- (void)setPriority:(long long)arg0; - method
- (void)setReason:(id)arg0; - method
- (void)setSerializer:(id)arg0; - method
- (void)setSessionMetadata:(id)arg0; - method
- (void)setSessionSignpost:(unsigned long long)arg0; - method
- (void)setState:(unsigned int)arg0; - method
- (void)setTargetQueue:(id)arg0; - method
- (void)setUserContext:(id)arg0; - method
- (void)start:(id /* block */)arg0; - method
- (id)startDate; - method
- (unsigned int)state; - method
- (id)stateForLogging; - method
- (id)stateResponders; - method
- (id)targetQueue; - method
- (id)userContext; - method
- (BOOL)wasCancelled; - method
- (id)wrappedUserContext; - property
@property(nonatomic) double birthDate; - property
@property BOOL canRestart; - property
@property BOOL canRollback; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(weak, nonatomic) id <SYSessionDelegate> delegate; - property
@property(readonly, copy) NSString *description; - property
@property(retain) NSError *error; - property
@property(nonatomic) double fullSessionTimeout; - property
@property(readonly) unsigned long long hash; - property
@property(copy, nonatomic) NSString *identifier; - property
@property(readonly) BOOL isResetSync; - property
@property(readonly, nonatomic) BOOL isSending; - property
@property(nonatomic) long long maxConcurrentMessages; - property
@property(copy, nonatomic) NSDictionary *options; - property
@property(copy, nonatomic) NSMutableDictionary *peerGenerationIDs; - property
@property(nonatomic) double perMessageTimeout; - property
@property(nonatomic) long long priority; - property
@property(readonly, nonatomic) unsigned long long protocolVersion; - property
@property(readonly) NSObject<OS_dispatch_queue> *queue; - property
@property(retain, nonatomic) NSString *reason; - property
@property(readonly, nonatomic) double remainingSessionTime; - property
@property(readonly, nonatomic) unsigned long long sentChangeByteCount; - property
@property(readonly, nonatomic) unsigned long long sentChangeCount; - property
@property(retain, nonatomic) id <SYChangeSerializer> serializer; - property
@property(readonly, weak, nonatomic) SYService *service; - property
@property(copy, nonatomic) NSDictionary *sessionMetadata; - property
@property(nonatomic) unsigned long long sessionSignpost; - property
@property(readonly, nonatomic) NSDate *startDate; - property
@property unsigned int state; - property
@property(readonly, nonatomic) PBCodable *stateForLogging; - property
@property(readonly) Class superclass; - property
@property(retain, nonatomic) NSObject<OS_dispatch_queue> *targetQueue; - property
@property(retain, nonatomic) NSDictionary *userContext; - property
@property(readonly) BOOL wasCancelled; - property
@property(readonly, nonatomic) NSDictionary *wrappedUserContext;
Header
@interface SYSession : NSObject <SYChangeSerializer, SYStateLoggable> { NSObject<OS_dispatch_queue> *_delegateQueue; _Atomic BOOL _inTransaction; NSObject<OS_os_transaction> *_transaction; _Atomic BOOL _paused; NSMutableSet *_pendingMessageIDs; BOOL _hasRejectedPeerSessionForNoGeneration; BOOL _hasRejectedPeerSessionForAge; BOOL _sessionStarted; NSMutableArray *_stateResponders; struct os_unfair_lock_s _setDelegateLock; BOOL _isSending; long long _priority; id<SYSessionDelegate> _delegate; id<SYChangeSerializer> _serializer; NSString *_identifier; SYService *_service; NSString *_reason; double _perMessageTimeout; double _fullSessionTimeout; NSDictionary *_options; long long _maxConcurrentMessages; NSError *_error; NSDictionary *_userContext; NSDictionary *_sessionMetadata; NSObject<OS_dispatch_queue> *_queue; double _birthDate; unsigned long long _sessionSignpost; NSMutableDictionary *_peerGenerationIDs; } @property (readonly) NSObject<OS_dispatch_queue> *queue; @property unsigned int state; @property (nonatomic, copy) NSString *identifier; @property (nonatomic) double birthDate; @property (nonatomic, readonly) NSDictionary *wrappedUserContext; @property (nonatomic, readonly) double remainingSessionTime; @property (nonatomic) unsigned long long sessionSignpost; @property (nonatomic, copy) NSMutableDictionary *peerGenerationIDs; @property (nonatomic, readonly) unsigned long long protocolVersion; @property (nonatomic) long long priority; @property (nonatomic, weak) id<SYSessionDelegate> delegate; @property (nonatomic, strong) NSObject<OS_dispatch_queue> *targetQueue; @property (nonatomic, strong) id<SYChangeSerializer> serializer; @property (nonatomic, readonly) NSDate *startDate; @property (nonatomic, weak, readonly) SYService *service; @property (nonatomic, strong) NSString *reason; @property (nonatomic) double perMessageTimeout; @property (nonatomic) double fullSessionTimeout; @property (nonatomic, copy) NSDictionary *options; @property (nonatomic) long long maxConcurrentMessages; @property (strong) NSError *error; @property BOOL canRestart; @property BOOL canRollback; @property (nonatomic, readonly) BOOL isSending; @property (readonly) BOOL isResetSync; @property (readonly) BOOL wasCancelled; @property (nonatomic, strong) NSDictionary *userContext; @property (nonatomic, copy) NSDictionary *sessionMetadata; @property (nonatomic, readonly) unsigned long long sentChangeByteCount; @property (nonatomic, readonly) unsigned long long sentChangeCount; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; @property (nonatomic, readonly) PBCodable *stateForLogging; + (id)allocWithZone:(struct _NSZone *)zone; + (id)unarchiveMetadata:(id)unarchiveMetadata; - (unsigned long long)protocolVersion; - (BOOL)wasCancelled; - (void)start:(id /* block */)start; - (id)service; - (void)setTargetQueue:(id)targetQueue; - (void)_handleError:(id)_handleError; - (id)targetQueue; - (BOOL)_handleStartSessionResponse:(id)_handleStartSessionResponse error:(id *)error; - (id)serializer; - (BOOL)_handleSyncBatchResponse:(id)_handleSyncBatchResponse error:(id *)error; - (void)setSerializer:(id)serializer; - (unsigned long long)sessionSignpost; - (void)setPriority:(long long)priority; - (id)initWithService:(id)service; - (void)_pause; - (id)error; - (unsigned int)state; - (void)setReason:(id)reason; - (id)userContext; - (long long)priority; - (BOOL)_handleEndSessionResponse:(id)_handleEndSessionResponse error:(id *)error; - (BOOL)_handleRestartSessionResponse:(id)_handleRestartSessionResponse error:(id *)error; - (void).cxx_destruct; - (void)setDelegate:(id)delegate; - (id)stateForLogging; - (void)dealloc; - (void)setSessionSignpost:(unsigned long long)sessionSignpost; - (id)reason; - (void)cancelWithError:(id)error; - (id)options; - (void)setState:(unsigned int)state; - (id)identifier; - (void)setError:(id)error; - (void)setUserContext:(id)userContext; - (id)queue; - (id)delegate; - (id)startDate; - (void)setOptions:(id)options; - (void)setIdentifier:(id)identifier; - (void)cancel; - (BOOL)_beginTransaction; - (double)birthDate; - (id)CPSafeDescription; - (BOOL)isSending; - (id)dataFromChange:(id)change; - (id)changeFromData:(id)data ofType:(long long)ofType; - (id)decodeChangeData:(id)decodeChangeData fromProtocolVersion:(long long)fromProtocolVersion ofType:(long long)ofType; - (id)encodeSYChangeForBackwardCompatibility:(id)backwardCompatibility protocolVersion:(long long)protocolVersion; - (long long)maxConcurrentMessages; - (void)setMaxConcurrentMessages:(long long)maxConcurrentMessages; - (id)sessionMetadata; - (void)_continue; - (void)setSessionMetadata:(id)sessionMetadata; - (BOOL)isResetSync; - (BOOL)_endTransaction; - (unsigned long long)sentChangeCount; - (BOOL)_readyToProcessIncomingMessages; - (void)didStartSession; - (void)setCanRollback:(BOOL)canRollback; - (id)stateResponders; - (id)_cancelPendingMessagesReturningFailures; - (void)_clearOutgoingMessageUUID:(id)_clearOutgoingMessageUUID; - (void)_handleEndSession:(id)_handleEndSession response:(id)response completion:(id /* block */)completion; - (void)_handleRestartSession:(id)_handleRestartSession response:(id)response completion:(id /* block */)completion; - (void)_handleSyncBatch:(id)_handleSyncBatch response:(id)response completion:(id /* block */)completion; - (void)_onSessionStateChangedFromNotStarted:(id /* block */)notStarted; - (void)_peerProcessedMessageWithIdentifier:(id)identifier userInfo:(id)userInfo; - (void)_recordOutgoingMessageUUID:(id)_recordOutgoingMessageUUID; - (void)_resolvedIdentifier:(id)_resolvedIdentifier forResponse:(id)forResponse; - (void)_resolvedIdentifierForRequest:(id)request; - (void)_sentMessageWithIdentifier:(id)identifier userInfo:(id)userInfo; - (void)_setStateQuietly:(unsigned int)stateQuietly; - (void)_supercededWithSession:(id)session; - (BOOL)_willAcquiesceToNewSessionFromPeer:(id)peer; - (BOOL)canRestart; - (BOOL)canRollback; - (void)cancelWithUnderlyingReason:(id)underlyingReason; - (id)combinedEngineOptions:(id)combinedEngineOptions; - (void)didCompleteSession; - (double)fullSessionTimeout; - (BOOL)hasRejectedPeerSessionForAge; - (id)peerGenerationIDs; - (double)perMessageTimeout; - (double)remainingSessionTime; - (unsigned long long)sentChangeByteCount; - (void)setBirthDate:(double)birthDate; - (void)setCanRestart:(BOOL)canRestart; - (void)setFullSessionTimeout:(double)fullSessionTimeout; - (void)setHasRejectedPeerSessionForAge:(BOOL)age; - (void)setPeerGenerationIDs:(id)peerGenerationIDs; - (void)setPerMessageTimeout:(double)messageTimeout; - (id)wrappedUserContext; @end