Objective-CclassCompanionSync

@interface SYSession : NSObject <SYChangeSerializer, SYStateLoggable>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 157

  1. method+ (id)allocWithZone:(struct _NSZone *)arg0;
  2. method+ (id)unarchiveMetadata:(id)arg0;
  3. ivardouble _birthDate;+0xb8
  4. ivarid <SYSessionDelegate> _delegate;+0x50
  5. ivarNSObject<OS_dispatch_queue> *_delegateQueue;+0x8
  6. ivarNSError *_error;+0x98
  7. ivardouble _fullSessionTimeout;+0x80
  8. ivarBOOL _hasRejectedPeerSessionForAge;+0x31
  9. ivarBOOL _hasRejectedPeerSessionForNoGeneration;+0x30
  10. ivarNSString *_identifier;+0x60
  11. ivar_Atomic BOOL _inTransaction;+0x10
  12. ivarBOOL _isSending;+0x44
  13. ivarlong long _maxConcurrentMessages;+0x90
  14. ivarNSDictionary *_options;+0x88
  15. ivar_Atomic BOOL _paused;+0x20
  16. ivarNSMutableDictionary *_peerGenerationIDs;+0xc8
  17. ivarNSMutableSet *_pendingMessageIDs;+0x28
  18. ivardouble _perMessageTimeout;+0x78
  19. ivarlong long _priority;+0x48
  20. ivarNSObject<OS_dispatch_queue> *_queue;+0xb0
  21. ivarNSString *_reason;+0x70
  22. ivarid <SYChangeSerializer> _serializer;+0x58
  23. ivarSYService *_service;+0x68
  24. ivarNSDictionary *_sessionMetadata;+0xa8
  25. ivarunsigned long long _sessionSignpost;+0xc0
  26. ivarBOOL _sessionStarted;+0x32
  27. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _setDelegateLock;+0x40
  28. ivarNSMutableArray *_stateResponders;+0x38
  29. ivarNSObject<OS_os_transaction> *_transaction;+0x18
  30. ivarNSDictionary *_userContext;+0xa0
  31. method- (void).cxx_destruct;
  32. method- (id)CPSafeDescription;
  33. method- (BOOL)_beginTransaction;
  34. method- (id)_cancelPendingMessagesReturningFailures;
  35. method- (void)_clearOutgoingMessageUUID:(id)arg0;
  36. method- (void)_continue;
  37. method- (BOOL)_endTransaction;
  38. method- (void)_handleEndSession:(id)arg0 response:(id)arg1 completion:(id /* block */)arg2;
  39. method- (BOOL)_handleEndSessionResponse:(id)arg0 error:(id *)arg1;
  40. method- (void)_handleError:(id)arg0;
  41. method- (void)_handleRestartSession:(id)arg0 response:(id)arg1 completion:(id /* block */)arg2;
  42. method- (BOOL)_handleRestartSessionResponse:(id)arg0 error:(id *)arg1;
  43. method- (BOOL)_handleStartSessionResponse:(id)arg0 error:(id *)arg1;
  44. method- (void)_handleSyncBatch:(id)arg0 response:(id)arg1 completion:(id /* block */)arg2;
  45. method- (BOOL)_handleSyncBatchResponse:(id)arg0 error:(id *)arg1;
  46. method- (void)_onSessionStateChangedFromNotStarted:(id /* block */)arg0;
  47. method- (void)_pause;
  48. method- (void)_peerProcessedMessageWithIdentifier:(id)arg0 userInfo:(id)arg1;
  49. method- (BOOL)_readyToProcessIncomingMessages;
  50. method- (void)_recordOutgoingMessageUUID:(id)arg0;
  51. method- (void)_resolvedIdentifier:(id)arg0 forResponse:(id)arg1;
  52. method- (void)_resolvedIdentifierForRequest:(id)arg0;
  53. method- (void)_sentMessageWithIdentifier:(id)arg0 userInfo:(id)arg1;
  54. method- (void)_setStateQuietly:(unsigned int)arg0;
  55. method- (void)_supercededWithSession:(id)arg0;
  56. method- (BOOL)_willAcquiesceToNewSessionFromPeer:(id)arg0;
  57. method- (double)birthDate;
  58. method- (BOOL)canRestart;
  59. method- (BOOL)canRollback;
  60. method- (void)cancel;
  61. method- (void)cancelWithError:(id)arg0;
  62. method- (void)cancelWithUnderlyingReason:(id)arg0;
  63. method- (id)changeFromData:(id)arg0 ofType:(long long)arg1;
  64. method- (id)combinedEngineOptions:(id)arg0;
  65. method- (id)dataFromChange:(id)arg0;
  66. method- (void)dealloc;
  67. method- (id)decodeChangeData:(id)arg0 fromProtocolVersion:(long long)arg1 ofType:(long long)arg2;
  68. method- (id)delegate;
  69. method- (void)didCompleteSession;
  70. method- (void)didStartSession;
  71. method- (id)encodeSYChangeForBackwardCompatibility:(id)arg0 protocolVersion:(long long)arg1;
  72. method- (id)error;
  73. method- (double)fullSessionTimeout;
  74. method- (BOOL)hasRejectedPeerSessionForAge;
  75. method- (id)identifier;
  76. method- (id)initWithService:(id)arg0;
  77. method- (BOOL)isResetSync;
  78. method- (BOOL)isSending;
  79. method- (long long)maxConcurrentMessages;
  80. method- (id)options;
  81. method- (id)peerGenerationIDs;
  82. method- (double)perMessageTimeout;
  83. method- (long long)priority;
  84. method- (unsigned long long)protocolVersion;
  85. method- (id)queue;
  86. method- (id)reason;
  87. method- (double)remainingSessionTime;
  88. method- (unsigned long long)sentChangeByteCount;
  89. method- (unsigned long long)sentChangeCount;
  90. method- (id)serializer;
  91. method- (id)service;
  92. method- (id)sessionMetadata;
  93. method- (unsigned long long)sessionSignpost;
  94. method- (void)setBirthDate:(double)arg0;
  95. method- (void)setCanRestart:(BOOL)arg0;
  96. method- (void)setCanRollback:(BOOL)arg0;
  97. method- (void)setDelegate:(id)arg0;
  98. method- (void)setError:(id)arg0;
  99. method- (void)setFullSessionTimeout:(double)arg0;
  100. method- (void)setHasRejectedPeerSessionForAge:(BOOL)arg0;
  101. method- (void)setIdentifier:(id)arg0;
  102. method- (void)setMaxConcurrentMessages:(long long)arg0;
  103. method- (void)setOptions:(id)arg0;
  104. method- (void)setPeerGenerationIDs:(id)arg0;
  105. method- (void)setPerMessageTimeout:(double)arg0;
  106. method- (void)setPriority:(long long)arg0;
  107. method- (void)setReason:(id)arg0;
  108. method- (void)setSerializer:(id)arg0;
  109. method- (void)setSessionMetadata:(id)arg0;
  110. method- (void)setSessionSignpost:(unsigned long long)arg0;
  111. method- (void)setState:(unsigned int)arg0;
  112. method- (void)setTargetQueue:(id)arg0;
  113. method- (void)setUserContext:(id)arg0;
  114. method- (void)start:(id /* block */)arg0;
  115. method- (id)startDate;
  116. method- (unsigned int)state;
  117. method- (id)stateForLogging;
  118. method- (id)stateResponders;
  119. method- (id)targetQueue;
  120. method- (id)userContext;
  121. method- (BOOL)wasCancelled;
  122. method- (id)wrappedUserContext;
  123. property@property(nonatomic) double birthDate;
  124. property@property BOOL canRestart;
  125. property@property BOOL canRollback;
  126. property@property(readonly, copy) NSString *debugDescription;
  127. property@property(weak, nonatomic) id <SYSessionDelegate> delegate;
  128. property@property(readonly, copy) NSString *description;
  129. property@property(retain) NSError *error;
  130. property@property(nonatomic) double fullSessionTimeout;
  131. property@property(readonly) unsigned long long hash;
  132. property@property(copy, nonatomic) NSString *identifier;
  133. property@property(readonly) BOOL isResetSync;
  134. property@property(readonly, nonatomic) BOOL isSending;
  135. property@property(nonatomic) long long maxConcurrentMessages;
  136. property@property(copy, nonatomic) NSDictionary *options;
  137. property@property(copy, nonatomic) NSMutableDictionary *peerGenerationIDs;
  138. property@property(nonatomic) double perMessageTimeout;
  139. property@property(nonatomic) long long priority;
  140. property@property(readonly, nonatomic) unsigned long long protocolVersion;
  141. property@property(readonly) NSObject<OS_dispatch_queue> *queue;
  142. property@property(retain, nonatomic) NSString *reason;
  143. property@property(readonly, nonatomic) double remainingSessionTime;
  144. property@property(readonly, nonatomic) unsigned long long sentChangeByteCount;
  145. property@property(readonly, nonatomic) unsigned long long sentChangeCount;
  146. property@property(retain, nonatomic) id <SYChangeSerializer> serializer;
  147. property@property(readonly, weak, nonatomic) SYService *service;
  148. property@property(copy, nonatomic) NSDictionary *sessionMetadata;
  149. property@property(nonatomic) unsigned long long sessionSignpost;
  150. property@property(readonly, nonatomic) NSDate *startDate;
  151. property@property unsigned int state;
  152. property@property(readonly, nonatomic) PBCodable *stateForLogging;
  153. property@property(readonly) Class superclass;
  154. property@property(retain, nonatomic) NSObject<OS_dispatch_queue> *targetQueue;
  155. property@property(retain, nonatomic) NSDictionary *userContext;
  156. property@property(readonly) BOOL wasCancelled;
  157. property@property(readonly, nonatomic) NSDictionary *wrappedUserContext;
@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