@class IMOrderedMutableDictionary, NSString, NSDictionary, IDSDirectMessageConnection, NSMapTable, IDSAccount, NSSet; @interface _IDSConnection : NSObject { id _messageContext; id _delegateContext; unsigned char _incomingMessageLoggingSequence; unsigned char _outgoingMessageLoggingSequence; NSMapTable *_delegateToInfo; IDSAccount *_account; NSSet *_commands; NSString *_serviceToken; IMOrderedMutableDictionary *_pendingSends; unsigned int _delegateCapabilities; BOOL _indirectDelegateCallouts; } @property (nonatomic) unsigned int wakingDowngradeCount; @property (retain, nonatomic) IDSDirectMessageConnection *directMessageConnection; @property (retain, nonatomic) NSDictionary *directMessagingMetadata; @property (readonly, nonatomic) BOOL isActive; @property (readonly, nonatomic) IDSAccount *account; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (void)addDelegate:(id)a0 queue:(id)a1; - (void)incomingInvitation:(id)a0 withGUID:(id)a1 forTopic:(id)a2 toURI:(id)a3 fromURI:(id)a4 context:(id)a5; - (void)_callDelegatesWithBlock:(id /* block */)a0; - (BOOL)_shouldAcceptIncomingType:(id)a0 forTopic:(id)a1 localURI:(id)a2 remoteURI:(id)a3 validateAliases:(BOOL)a4 guid:(id)a5; - (void)connection:(id)a0 incomingGUIDAckFromDirectConnection:(id)a1; - (void)dealloc; - (void)messageIdentifier:(id)a0 forTopic:(id)a1 toURI:(id)a2 fromURI:(id)a3 hasBeenDeliveredWithContext:(id)a4; - (id)_init; - (id)_activeDevice; - (void)accessoryReportMessageReceived:(id)a0 accessoryID:(id)a1 controllerID:(id)a2 withGUID:(id)a3 forTopic:(id)a4 toURI:(id)a5 fromURI:(id)a6 context:(id)a7; - (void)didSendOpportunisticDataWithIdentifier:(id)a0 onAccount:(id)a1 toIDs:(id)a2; - (void)removeDelegate:(id)a0; - (void)_sendMissingMessageMetric:(id)a0; - (void)account:(id)a0 devicesChanged:(id)a1; - (BOOL)_isAccountInValidRegistrationStateToAcceptMessages; - (void)sessionInvitationReceivedWithPayload:(id)a0 forTopic:(id)a1 sessionID:(id)a2 toIdentifier:(id)a3 fromID:(id)a4 transportType:(id)a5; - (void)_callDelegatesWithBlock:(id /* block */)a0 group:(id)a1; - (void)addDelegate:(id)a0 queue:(id)a1 completion:(id /* block */)a2; - (id)_defaultPairedDevice; - (void)checkTransportLogWithReason:(long long)a0; - (void)account:(id)a0 isActiveChanged:(BOOL)a1; - (void)didFlushCacheForService:(id)a0 remoteURI:(id)a1 fromURI:(id)a2 guid:(id)a3; - (void)receivedGroupSessionParticipantDataUpdate:(id)a0 forTopic:(id)a1 toIdentifier:(id)a2 fromID:(id)a3; - (id)daemonListener; - (void)dataReceived:(id)a0 withGUID:(id)a1 forTopic:(id)a2 toURI:(id)a3 fromURI:(id)a4 context:(id)a5; - (void)receivedGroupSessionParticipantUpdate:(id)a0 forTopic:(id)a1 toIdentifier:(id)a2 fromID:(id)a3 context:(id)a4; - (void)sendAppAckForDirectMessage:(id)a0; - (void)_handleLastCallForPendingIdentifier:(id)a0 callbackID:(id)a1; - (void)receivedMetadataForDirectMessaging:(id)a0; - (void)messageIdentifier:(id)a0 alternateCallbackID:(id)a1 forAccount:(id)a2 updatedWithResponseCode:(long long)a3 error:(id)a4 lastCall:(BOOL)a5 context:(id)a6; - (BOOL)sendProtobuf:(id)a0 toDestinations:(id)a1 priority:(long long)a2 options:(id)a3 identifier:(id *)a4 error:(id *)a5; - (id)_sendWithParameters:(id)a0 options:(id)a1 loggingType:(id)a2 loggingDataSize:(unsigned long long)a3; - (void)connection:(id)a0 messageSendFailed:(id)a1 responseCode:(long long)a2; - (void)setDelegateCapabilities:(unsigned int)a0; - (void)connection:(id)a0 incomingDataFromDirectConnection:(id)a1 withGUID:(id)a2 forTopic:(id)a3 toIdentifier:(id)a4 fromID:(id)a5 context:(id)a6; - (BOOL)sendServerMessage:(id)a0 command:(id)a1; - (void)opportunisticDataReceived:(id)a0 withIdentifier:(id)a1 fromURI:(id)a2 context:(id)a3; - (void)xpcObject:(id)a0 objectContext:(id)a1; - (void)connection:(id)a0 incomingAckWithIdentifier:(id)a1 forTopic:(id)a2 toIdentifier:(id)a3 fromIdentifier:(id)a4 hasBeenDeliveredWithContext:(id)a5 isAppAck:(BOOL)a6; - (void).cxx_destruct; - (void)connection:(id)a0 incomingProtobufFromDirectConnection:(id)a1 withGUID:(id)a2 forTopic:(id)a3 toIdentifier:(id)a4 fromID:(id)a5 context:(id)a6; - (void)didFlushCacheFromKTPeerUpdateForService:(id)a0 peerURI:(id)a1; - (void)incomingInvitationUpdate:(id)a0 withGUID:(id)a1 forTopic:(id)a2 toURI:(id)a3 fromURI:(id)a4 context:(id)a5; - (void)messageIdentifierInner:(id)a0 alternateCallbackID:(id)a1 forAccount:(id)a2 updatedWithResponseCode:(long long)a3 error:(id)a4 lastCall:(BOOL)a5 context:(id)a6 isDirectMessage:(BOOL)a7; - (void)account:(id)a0 connectedDevicesChanged:(id)a1; - (id)initWithAccount:(id)a0 commands:(id)a1 indirectDelegateCallouts:(BOOL)a2 delegateContext:(id)a3; - (BOOL)_canServiceNameAcceptMessagesInTransientRegistrationState:(id)a0; - (void)messageIdentifier:(id)a0 alternateCallbackID:(id)a1 forAccount:(id)a2 willSendToDestinations:(id)a3 skippedDestinations:(id)a4 registrationPropertyToDestinations:(id)a5; - (void)_connect; - (void)account:(id)a0 nearbyDevicesChanged:(id)a1; - (void)sendXPCObject:(id)a0; - (void)daemonConnected; - (void)_setTemporaryMessageContext:(id)a0; - (void)pendingIncomingMessageWithGUID:(id)a0 forTopic:(id)a1 toURI:(id)a2 fromURI:(id)a3 context:(id)a4; - (BOOL)sendInvitation:(id)a0 toDestination:(id)a1 priority:(long long)a2 options:(id)a3 identifier:(id *)a4 error:(id *)a5; - (void)didCancelMessageWithSuccess:(BOOL)a0 onAccount:(id)a1 error:(id)a2 identifier:(id)a3; - (void)pendingResourceWithMetadata:(id)a0 guid:(id)a1 forTopic:(id)a2 toURI:(id)a3 fromURI:(id)a4 context:(id)a5; - (void)_replaceSentinelInSendParameters:(id)a0 withCurrentActiveDevice:(id)a1; - (void)messageReceived:(id)a0 withGUID:(id)a1 withPayload:(id)a2 forTopic:(id)a3 toURI:(id)a4 fromURI:(id)a5 context:(id)a6; - (void)createDirectMessageConnectionIfNeeded; - (void)accessoryDataReceived:(id)a0 withGUID:(id)a1 forTopic:(id)a2 toURI:(id)a3 fromURI:(id)a4 context:(id)a5; - (id)daemonController; - (BOOL)_isDestinationSingleLocalAddress:(id)a0; - (void)_callDelegatesRespondingToSelector:(SEL)a0 withPreCallbacksBlock:(id /* block */)a1 callbackBlock:(id /* block */)a2 postCallbacksBlock:(id /* block */)a3; - (BOOL)sendInvitationUpdate:(id)a0 toDestination:(id)a1 priority:(long long)a2 options:(id)a3 identifier:(id *)a4 error:(id *)a5; - (BOOL)sendMessage:(id)a0 toDestinations:(id)a1 priority:(long long)a2 options:(id)a3 identifier:(id *)a4 error:(id *)a5; - (BOOL)sendData:(id)a0 toDestinations:(id)a1 priority:(long long)a2 options:(id)a3 identifier:(id *)a4 error:(id *)a5; - (void)updateDeviceIdentity:(id)a0 error:(id)a1; - (void)connection:(id)a0 incomingMessageFromDirectConnection:(id)a1 withGUID:(id)a2 forTopic:(id)a3 toIdentifier:(id)a4 fromID:(id)a5 context:(id)a6; - (void)_callDelegatesRespondingToSelector:(SEL)a0 withPreCallbacksBlock:(id /* block */)a1 callbackBlock:(id /* block */)a2 postCallbacksBlock:(id /* block */)a3 group:(id)a4; - (void)protobufReceived:(id)a0 withGUID:(id)a1 forTopic:(id)a2 toURI:(id)a3 fromURI:(id)a4 context:(id)a5; - (void)_resendPendingSends; @end