SwiftclassRequestDispatcherBridges
IFSessionServiceClient
class RequestDispatcherBridges.IFSessionServiceClient
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
Members 13
- deinit
deinit - field
var _isValid: Bool - field
var connection: (any ProactiveDaemonSupport.BidirectionalServiceConnectionProtocol<Self.BidirectionalServiceConnectionProtocol.LocalService == RequestDispatcherBridges.IFSessionServiceXPCClientInterfaceDefinition, Self.BidirectionalServiceConnectionProtocol.RemoteService == RequestDispatcherBridges.IFSessionServiceXPCServerInterfaceDefinition>)? - field
let jsonEncoder: Foundation.JSONEncoder+0x10 - field
let lock: os.OSAllocatedUnfairLock<()> - field
var messagePublishersUnsafe: [ObjectIdentifier : AsyncThrowingStream<IntelligenceFlow.SessionServerMessage, Error>.Continuation] - func
currentSessionID(forUserID: Foundation.UUID) throws -> Foundation.UUID - func
send(message: IntelligenceFlow.SessionClientMessage) throws -> () - func
subscribe(filtering: @Sendable (IntelligenceFlow.SessionServerMessage) async -> Bool) throws -> RequestDispatcherBridges.IFMessagesStream - func
xpcBidirectionalConnectionWasInvalidated() -> () - init
RequestDispatcherBridges.IFSessionServiceClient.__allocating_init() throws -> RequestDispatcherBridges.IFSessionServiceClient - typealias
typealias ConnectionErrorType = ProactiveDaemonSupport.XPCServiceError - typealias
typealias MessagesStream = RequestDispatcherBridges.IFMessagesStream
Header
class IFSessionServiceClient { enum Error { case sessionEndedAbruptly(error: any Swift.Error) case connectionInvalidated(error: (any Swift.Error)?) case sessionServiceClientIsGone case ifSessionClientIsMissing case noCurrentSession } enum RelayError { enum CodingKeys { case companionNotFound case companionNotCapable case protocolIncompatible case companionAIIsOff } enum CompanionNotFoundCodingKeys {} enum CompanionNotCapableCodingKeys {} enum ProtocolIncompatibleCodingKeys { case companionNeedsUpdate } enum CompanionAIIsOffCodingKeys {} case protocolIncompatible(companionNeedsUpdate: Swift.Bool) case companionNotFound case companionNotCapable case companionAIIsOff } class ReverseServer: __C.SRDIFSessionServiceXPCClient { weak var client: RequestDispatcherBridges.IFSessionServiceClient? let jsonDecoder: Foundation.JSONDecoder } let jsonEncoder: Foundation.JSONEncoder let lock: os.OSAllocatedUnfairLock<()> var _isValid: Swift.Bool var messagePublishersUnsafe: [Swift.ObjectIdentifier : Swift.AsyncThrowingStream<IntelligenceFlow.SessionServerMessage, any Swift.Error>.Continuation] var connection: (any ProactiveDaemonSupport.BidirectionalServiceConnectionProtocol)? init() throws final func currentSessionID(forUserID: Foundation.UUID) throws -> Foundation.UUID final func xpcBidirectionalConnectionWasInvalidated() final func send(message: IntelligenceFlow.SessionClientMessage) throws final func subscribe(filtering: @escaping @Sendable (_: IntelligenceFlow.SessionServerMessage) async -> Swift.Bool) throws -> RequestDispatcherBridges.IFMessagesStream deinit }