// Generated by HeaderLand from iOS 27.0.1 (24A446), /System/Library/PrivateFrameworks/MessageDispatchCore.framework/MessageDispatchCore.
// Recovered from the binary: no comments, no parameter names Swift does not keep, no availability.
actor DispatchClientTable where A: Swift.Hashable, A: Swift.RawRepresentable, A.RawValue: Swift.Hashable {
enum Failure {
case unhandledRegistration
}
enum Priority {
case custom(Swift.TaskPriority)
case inherit
}
struct Registration {
let priority: MessageDispatchCore.DispatchClientTable.Priority
let handler: @Sendable (_: Foundation.Data?) async throws -> ()
}
var registry: [A.RawValue : [MessageDispatchCore.DispatchClientTable.Registration]]
var cancellationRegistry: [A.RawValue : [MessageDispatchCore.DispatchClientTable.Registration]]
let logger: any MessageDispatchCore.DispatchLogger
init(logger: any MessageDispatchCore.DispatchLogger)
func register(messageCode: A, priority: MessageDispatchCore.DispatchClientTable.Priority, handler: @escaping @Sendable () async throws -> ())
func registerCancellation(messageCode: A, priority: MessageDispatchCore.DispatchClientTable.Priority, handler: @escaping @Sendable () async throws -> ())
func register(messageCode: A, priority: MessageDispatchCore.DispatchClientTable.Priority, handler: @escaping @Sendable () async throws -> (), cancellationHandler: (@Sendable () async throws -> ())?)
func register(messageCode: A, priority: MessageDispatchCore.DispatchClientTable.Priority, handler: @escaping @Sendable (_: A1) async throws -> ()) where A1: MessageDispatchCore.DispatchSerializable
func registerCancellation(messageCode: A, priority: MessageDispatchCore.DispatchClientTable.Priority, handler: @escaping @Sendable (_: A1) async throws -> ()) where A1: MessageDispatchCore.DispatchSerializable
func register(messageCode: A, priority: MessageDispatchCore.DispatchClientTable.Priority, handler: @escaping @Sendable (_: A1) async throws -> (), cancellationHandler: (@Sendable (_: A1) async throws -> ())?) where A1: MessageDispatchCore.DispatchSerializable
func dispatch(messageCode: A.RawValue, messageData: Foundation.Data?) async throws
func dispatchCancellation(messageCode: A.RawValue, messageData: Foundation.Data?) async throws
var unownedExecutor: Swift.UnownedSerialExecutor {
get
}
deinit
}
class DispatchListenerTable where A: MessageDispatchCore.DispatchHeader, B: Swift.Hashable, B: Swift.RawRepresentable, B.RawValue == Swift.UInt32 {
enum Priority {
case custom(Swift.TaskPriority)
case inherit
}
enum Failure {
case duplicateRegistration(Swift.UInt32)
case noRequestHandlerRegistered(Swift.UInt32)
case emptyRequest
}
struct Registration {
let priority: MessageDispatchCore.DispatchListenerTable.Priority
let handler: (A, Foundation.Data?) async throws -> Foundation.Data?
}
var registry: [Swift.UInt32 : MessageDispatchCore.DispatchListenerTable.Registration]
let logger: any MessageDispatchCore.DispatchLogger
init(logger: any MessageDispatchCore.DispatchLogger)
func register(messageCode: B, priority: MessageDispatchCore.DispatchListenerTable.Priority, handler: @escaping @Sendable (_: A) async throws -> ()) throws
func register(messageCode: B, priority: MessageDispatchCore.DispatchListenerTable.Priority, handler: @escaping @Sendable (A, A1) async throws -> ()) throws where A1: MessageDispatchCore.DispatchSerializable
func register(messageCode: B, priority: MessageDispatchCore.DispatchListenerTable.Priority, handler: @escaping @Sendable (_: A) async throws -> A1?) throws where A1: MessageDispatchCore.DispatchSerializable
func register(messageCode: B, priority: MessageDispatchCore.DispatchListenerTable.Priority, handler: @escaping @Sendable (A, A1) async throws -> B1?) throws where A1: MessageDispatchCore.DispatchSerializable, B1: MessageDispatchCore.DispatchSerializable
func addForwardingRoutes(to: any MessageDispatchCore.DispatchForwardingConnection, priority: MessageDispatchCore.DispatchListenerTable.Priority, messageCodes: [B]) throws
func addReverseForwardingRoutes(to: any MessageDispatchCore.DispatchReverseForwardingConnection, messageCodes: [B]) throws
func dispatch(messageCode: Swift.UInt32, header: A, messageData: Foundation.Data?) async throws -> Foundation.Data?
deinit
}
enum MessageDispatchCore.DispatchClientTable.Failure {
case unhandledRegistration
}
enum MessageDispatchCore.DispatchClientTable.Priority {
case custom(Swift.TaskPriority)
case inherit
}
enum MessageDispatchCore.DispatchListenerTable.Failure {
case duplicateRegistration(Swift.UInt32)
case noRequestHandlerRegistered(Swift.UInt32)
case emptyRequest
}
enum MessageDispatchCore.DispatchListenerTable.Priority {
case custom(Swift.TaskPriority)
case inherit
}
enum XPCIncompatibleTypes {
case mergeConflict
case constraintConflict
}
extension MessageDispatchCore.DispatchClientTable {
func addReverseForwardingRoutes(to: any MessageDispatchCore.DispatchReverseForwardingConnection, priority: MessageDispatchCore.DispatchClientTable.Priority, messageCodes: [A]) throws where A.RawValue == Swift.UInt32
}
extension MessageDispatchCore.DispatchClientTable: Swift.Actor {}
extension MessageDispatchCore.DispatchClientTable.Failure: Swift.Equatable {}
extension MessageDispatchCore.DispatchClientTable.Failure: Swift.Error {}
extension MessageDispatchCore.DispatchClientTable.Failure: Swift.Hashable {}
extension MessageDispatchCore.DispatchListenerTable.Failure: Swift.Error {}
extension MessageDispatchCore.NullLogger: MessageDispatchCore.DispatchLogger {}
extension MessageDispatchCore.XPCIncompatibleTypes: Swift.Equatable {}
extension MessageDispatchCore.XPCIncompatibleTypes: Swift.Hashable {}
extension MessageDispatchCore.XPCIncompatibleTypes: Swift.RawRepresentable {
typealias RawValue = Swift.String
}
extension MessageDispatchCore.XPCIncompatibleTypes: Swift.CaseIterable {
typealias AllCases = [MessageDispatchCore.XPCIncompatibleTypes]
}
extension Swift.Error {
var code: Swift.Int {
get
}
var domain: Swift.String {
get
}
var underlyingError: (any Swift.Error)? {
get
}
var userInfo: [Swift.String : Any] {
get
}
func isDenylisted(object: Any) -> Swift.Bool
func isValidElement(_: Any) -> Swift.Bool
func isObjectSanitized(object: Any) -> Swift.Bool
func isContainerSanitized(object: Any) -> Swift.Bool
func sanitized() -> any Swift.Error
}
protocol DispatchClient where Self.MessageCode: Swift.Hashable, Self.MessageCode: Swift.RawRepresentable {
associatedtype MessageCode
func send(messageCode: Self.MessageCode) async throws
func send(messageCode: Self.MessageCode) async throws -> A1 where A1: MessageDispatchCore.DispatchSerializable
func send(messageCode: Self.MessageCode, request: A1) async throws where A1: MessageDispatchCore.DispatchSerializable
func send(messageCode: Self.MessageCode, request: A1) async throws -> B1 where A1: MessageDispatchCore.DispatchSerializable, B1: MessageDispatchCore.DispatchSerializable
}
protocol DispatchForwardingConnection {
func forward(messageCode: Swift.UInt32, messageData: Foundation.Data?, originatingProcessIdentifier: Swift.Int?) async throws -> Foundation.Data?
}
protocol DispatchHeader {
var originatingProcessIdentifier: Swift.Int? {
get
}
var processIdentifier: Swift.Int? {
get
}
}
protocol DispatchListener where Self.MessageCode: Swift.Hashable, Self.MessageCode: Swift.RawRepresentable {
associatedtype MessageCode
func broadcast(messageCode: Self.MessageCode) async throws
func broadcast(messageCode: Self.MessageCode, message: A1) async throws where A1: MessageDispatchCore.DispatchSerializable
}
protocol DispatchLogger {
func log(_: Swift.String)
func error(_: Swift.String)
}
protocol DispatchReverseForwardingConnection {
func reverseForward(messageCode: Swift.UInt32, messageData: Foundation.Data?) async
}
protocol DispatchSerializable {
init(serialized: Foundation.Data) throws
func serialized() throws -> Foundation.Data
}
struct MessageDispatchCore.DispatchClientTable.Registration {
let priority: MessageDispatchCore.DispatchClientTable.Priority
let handler: @Sendable (_: Foundation.Data?) async throws -> ()
}
struct MessageDispatchCore.DispatchListenerTable.Registration {
let priority: MessageDispatchCore.DispatchListenerTable.Priority
let handler: (A, Foundation.Data?) async throws -> Foundation.Data?
}
struct NullLogger {
init()
func log(_: Swift.String)
func error(_: Swift.String)
}