SwiftclassRequestDispatcherBridges

class RequestDispatcherBridges.IFSessionServiceClient

Structure

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

Members 13

  1. deinitdeinit
  2. fieldvar _isValid: Bool
  3. fieldvar connection: (any ProactiveDaemonSupport.BidirectionalServiceConnectionProtocol<Self.BidirectionalServiceConnectionProtocol.LocalService == RequestDispatcherBridges.IFSessionServiceXPCClientInterfaceDefinition, Self.BidirectionalServiceConnectionProtocol.RemoteService == RequestDispatcherBridges.IFSessionServiceXPCServerInterfaceDefinition>)?
  4. fieldlet jsonEncoder: Foundation.JSONEncoder+0x10
  5. fieldlet lock: os.OSAllocatedUnfairLock<()>
  6. fieldvar messagePublishersUnsafe: [ObjectIdentifier : AsyncThrowingStream<IntelligenceFlow.SessionServerMessage, Error>.Continuation]
  7. funccurrentSessionID(forUserID: Foundation.UUID) throws -> Foundation.UUID
  8. funcsend(message: IntelligenceFlow.SessionClientMessage) throws -> ()
  9. funcsubscribe(filtering: @Sendable (IntelligenceFlow.SessionServerMessage) async -> Bool) throws -> RequestDispatcherBridges.IFMessagesStream
  10. funcxpcBidirectionalConnectionWasInvalidated() -> ()
  11. initRequestDispatcherBridges.IFSessionServiceClient.__allocating_init() throws -> RequestDispatcherBridges.IFSessionServiceClient
  12. typealiastypealias ConnectionErrorType = ProactiveDaemonSupport.XPCServiceError
  13. typealiastypealias MessagesStream = RequestDispatcherBridges.IFMessagesStream
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
}