SwiftactorMessageDispatch
NetworkDispatchInterface
distributed actor FitnessDispatch.NetworkDispatchInterface
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolDistributed.DistributedActor
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.Identifiable
Members 12
- func
static resolve(id: Network.NWActorID, using: Network.NWActorSystem) throws -> FitnessDispatch.NetworkDispatchInterface<A> - deinit
deinit - field
var $defaultActor: Builtin.DefaultActorStorage+0x10 - field
let actorSystem: Network.NWActorSystem - field
let dispatchTable: MessageDispatchCore.DispatchListenerTable<MessageDispatch.NetworkHeader, A> - field
let id: Network.NWActorID - func
receiveMessage(messageCode: UInt32, senderProtocolVersion: UInt32, messageData: Foundation.Data?) async throws -> Foundation.Data? - init
FitnessDispatch.NetworkDispatchInterface.__allocating_init(actorSystem: Network.NWActorSystem, dispatchTable: MessageDispatchCore.DispatchListenerTable<MessageDispatch.NetworkHeader, A>) -> FitnessDispatch.NetworkDispatchInterface<A> - typealias
typealias ActorSystem = Network.NWActorSystem - typealias
typealias ID = Network.NWActorID - typealias
typealias SerializationRequirement = Swift.Decodable & Swift.Encodable - var
var unownedExecutor: UnownedSerialExecutor { get }
Header
distributed actor NetworkDispatchInterface<A> where A: Swift.Hashable, A: Swift.RawRepresentable, A.RawValue == Swift.UInt32 { let id: Network.NWActorID let actorSystem: Network.NWActorSystem let dispatchTable: MessageDispatchCore.DispatchListenerTable<MessageDispatch.NetworkHeader, A> init(actorSystem: Network.NWActorSystem, dispatchTable: MessageDispatchCore.DispatchListenerTable<MessageDispatch.NetworkHeader, A>) func receiveMessage(messageCode: Swift.UInt32, senderProtocolVersion: Swift.UInt32, messageData: Foundation.Data?) async throws -> Foundation.Data? var unownedExecutor: Swift.UnownedSerialExecutor { get } static func resolve(id: Network.NWActorID, using: Network.NWActorSystem) throws -> FitnessDispatch.NetworkDispatchInterface<A> deinit }