SwiftclassSiriRequestDispatcher

class SiriRequestDispatcher.CandidateRequestAwareBridgeBase

Structure

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

Members 16

  1. deinitdeinit
  2. fieldvar activeRequestProcessor: SiriRequestDispatcher.RequestProcessorBase?
  3. fieldvar previousProcessorTimeout: Dispatch.DispatchTimeInterval
  4. fieldvar requestIdToCandidateRequestProcessor: [String : SiriRequestDispatcher.RequestProcessorBase]
  5. fieldlet waitBeforeReplacingActiveRequest: Bool
  6. funccreateRequestProcessor(withRequestId: String, assistantId: String, sessionId: Foundation.UUID, isCandidateRequest: Bool) throws -> SiriRequestDispatcher.RequestProcessorBase
  7. funccreateRequestProcessor(withRequestId: String, assistantId: String, sessionId: Foundation.UUID, isCandidateRequest: Bool, rootRequestId: String) throws -> SiriRequestDispatcher.RequestProcessorBase
  8. funcdispatchAsync<A, B where A1: SiriRequestDispatcher.RequestProcessorBase, B1: SiriMessageTypes.MessageBase>(message: B1, toRequestProcessor: A1, usingHandler: (B1) throws -> ()) -> ()
  9. funcdispatchAsync<A, B where A1: SiriRequestDispatcher.RequestProcessorBase, B1: SABaseClientBoundCommand>(command: B1, toRequestProcessor: A1, executionContextInfo: AFCommandExecutionInfo, reply: ((SAAceCommand?, Error?) -> ())?, usingHandler: (A1) -> (B1, AFCommandExecutionInfo, ((SAAceCommand?, Error?) -> ())?) -> ()) -> ()
  10. funcdispatchCommandToRequestProcessor<A, B where A1: SABaseClientBoundCommand, B1: SiriRequestDispatcher.RequestProcessorBase>(_: A1, executionContextInfo: AFCommandExecutionInfo, reply: ((SAAceCommand?, Error?) -> ())?, handler: (B1) -> (A1, AFCommandExecutionInfo, ((SAAceCommand?, Error?) -> ())?) -> ()) -> ()
  11. funcregisterMessageHandler<A, B where A1: SiriMessageTypes.RequestMessageBase, B1: SiriRequestDispatcher.RequestProcessorBase>(_: (B1) -> (A1) -> (), messageHandlerType: SiriRequestDispatcher.MessageHandlerType) -> ()
  12. funcregisterMessageHandler<A, B where A1: SiriMessageTypes.RequestMessageBase, B1: SiriRequestDispatcher.RequestProcessorBase>(_: (B1) -> (A1) throws -> (), messageHandlerType: SiriRequestDispatcher.MessageHandlerType) -> ()
  13. functryToDispatchCommandToRequestProcessor<A, B where A1: SABaseClientBoundCommand, B1: SiriRequestDispatcher.RequestProcessorBase>(_: A1, executionContextInfo: AFCommandExecutionInfo, reply: ((SAAceCommand?, Error?) -> ())?, handler: (B1) -> (A1, AFCommandExecutionInfo, ((SAAceCommand?, Error?) -> ())?) -> ()) -> Bool
  14. initSiriRequestDispatcher.CandidateRequestAwareBridgeBase.__allocating_init(name: String, messagePublisher: SiriMessageTypes.MessagePublishing, serviceHelper: AFRequestDispatcherServiceHelper, queue: OS_dispatch_queue, conversationSessionsManager: SiriMessageTypes.ConversationSessionsManaging, logger: os.Logger, waitBeforeReplacingActiveRequest: Bool) -> SiriRequestDispatcher.CandidateRequestAwareBridgeBase<A>
  15. initSiriRequestDispatcher.CandidateRequestAwareBridgeBase.__allocating_init(String, SiriMessageTypes.MessagePublishing, AFRequestDispatcherServiceHelper, OS_dispatch_queue, SiriMessageTypes.ConversationSessionsManaging, os.Logger) -> SiriRequestDispatcher.CandidateRequestAwareBridgeBase<A>
  16. initSiriRequestDispatcher.CandidateRequestAwareBridgeBase.__allocating_init(String, SiriMessageTypes.MessagePublishing, AFRequestDispatcherServiceHelper, OS_dispatch_queue, SiriMessageTypes.ConversationSessionsManaging) -> SiriRequestDispatcher.CandidateRequestAwareBridgeBase<A>
class CandidateRequestAwareBridgeBase<A>: SiriRequestDispatcher.MessageDispatchingBridgeBase<A> where A: AnyObject {
    let waitBeforeReplacingActiveRequest: Swift.Bool
    var previousProcessorTimeout: Dispatch.DispatchTimeInterval
    var activeRequestProcessor: SiriRequestDispatcher.RequestProcessorBase?
    var requestIdToCandidateRequestProcessor: [Swift.String : SiriRequestDispatcher.RequestProcessorBase]

    override init(_: Swift.String, _: any SiriMessageTypes.MessagePublishing, _: any __C.AFRequestDispatcherServiceHelper, _: __C.OS_dispatch_queue, _: any SiriMessageTypes.ConversationSessionsManaging)
    override init(_: Swift.String, _: any SiriMessageTypes.MessagePublishing, _: any __C.AFRequestDispatcherServiceHelper, _: __C.OS_dispatch_queue, _: any SiriMessageTypes.ConversationSessionsManaging, _: os.Logger)
    init(name: Swift.String, messagePublisher: any SiriMessageTypes.MessagePublishing, serviceHelper: any __C.AFRequestDispatcherServiceHelper, queue: __C.OS_dispatch_queue, conversationSessionsManager: any SiriMessageTypes.ConversationSessionsManaging, logger: os.Logger, waitBeforeReplacingActiveRequest: Swift.Bool)
    func registerMessageHandler<A1, B1>(_: @escaping (_: B1) -> (_: A1) -> (), messageHandlerType: SiriRequestDispatcher.MessageHandlerType) where A1: SiriMessageTypes.RequestMessageBase, B1: SiriRequestDispatcher.RequestProcessorBase
    func registerMessageHandler<A1, B1>(_: @escaping (_: B1) -> (_: A1) throws -> (), messageHandlerType: SiriRequestDispatcher.MessageHandlerType) where A1: SiriMessageTypes.RequestMessageBase, B1: SiriRequestDispatcher.RequestProcessorBase
    func createRequestProcessor(withRequestId: Swift.String, assistantId: Swift.String, sessionId: Foundation.UUID, isCandidateRequest: Swift.Bool) throws -> SiriRequestDispatcher.RequestProcessorBase
    func createRequestProcessor(withRequestId: Swift.String, assistantId: Swift.String, sessionId: Foundation.UUID, isCandidateRequest: Swift.Bool, rootRequestId: Swift.String) throws -> SiriRequestDispatcher.RequestProcessorBase
    func tryToDispatchCommandToRequestProcessor<A1, B1>(_: A1, executionContextInfo: __C.AFCommandExecutionInfo, reply: (((any __C.SAAceCommand)?, (any Swift.Error)?) -> ())?, handler: @escaping (_: B1) -> (A1, __C.AFCommandExecutionInfo, (((any __C.SAAceCommand)?, (any Swift.Error)?) -> ())?) -> ()) -> Swift.Bool where A1: __C.SABaseClientBoundCommand, B1: SiriRequestDispatcher.RequestProcessorBase
    func dispatchCommandToRequestProcessor<A1, B1>(_: A1, executionContextInfo: __C.AFCommandExecutionInfo, reply: (((any __C.SAAceCommand)?, (any Swift.Error)?) -> ())?, handler: @escaping (_: B1) -> (A1, __C.AFCommandExecutionInfo, (((any __C.SAAceCommand)?, (any Swift.Error)?) -> ())?) -> ()) where A1: __C.SABaseClientBoundCommand, B1: SiriRequestDispatcher.RequestProcessorBase
    func dispatchAsync<A1, B1>(message: B1, toRequestProcessor: A1, usingHandler: @escaping (_: B1) throws -> ()) where A1: SiriRequestDispatcher.RequestProcessorBase, B1: SiriMessageTypes.MessageBase
    func dispatchAsync<A1, B1>(command: B1, toRequestProcessor: A1, executionContextInfo: __C.AFCommandExecutionInfo, reply: (((any __C.SAAceCommand)?, (any Swift.Error)?) -> ())?, usingHandler: @escaping (_: A1) -> (B1, __C.AFCommandExecutionInfo, (((any __C.SAAceCommand)?, (any Swift.Error)?) -> ())?) -> ()) where A1: SiriRequestDispatcher.RequestProcessorBase, B1: __C.SABaseClientBoundCommand

    deinit
}