SwiftclassXPCDistributed
TransportReceiver
class XPCDistributed.XPCSystem.TransportReceiver
Members 13
- deinit
deinit - field
let actorSystem: XPCDistributed.XPCSystem - field
var cancellationHandler: (@Sendable () -> ())? - field
let isCancelledFuse: XPCDistributed.Fuse - field
let peerHandler: @Sendable (__owned XPCDistributed.XPCSystem.Session.LocalInterface) async -> (result: (), token: XPCDistributed.XPCSystem.Session.LocalInterface.ActivationToken) - field
let peerHandlingTasks: XPCDistributed.XPCSystem.TransportReceiver.PeerTaskTable - func
attachLocalSession(XPCDistributed.XPCSystem.Session) -> XPCDistributed.XPCSystem.Session - func
attachTransport(XPCDistributed.XPCSystem.Transport) throws(XPCDistributed.XPCSystem.SetupError) -> () - func
cancel() -> () - func
setCancellationHandler(@Sendable () -> ()) -> () - func
unwindPeers() async -> () - init
XPCDistributed.XPCSystem.TransportReceiver.__allocating_init(actorSystem: XPCDistributed.XPCSystem, peerHandler: @Sendable (__owned XPCDistributed.XPCSystem.Session.LocalInterface) async -> (result: (), token: XPCDistributed.XPCSystem.Session.LocalInterface.ActivationToken)) -> XPCDistributed.XPCSystem.TransportReceiver - var
final var peerTaskCount: Int { get }
Header
class XPCDistributed.XPCSystem.TransportReceiver { class PeerTaskTable { enum Slot { case live(Swift.Task<XPCDistributed.XPCSystem.Session.LocalInterface.ActivationToken, Swift.Never>) case tombstone } let storage: Synchronization.Mutex<[XPCDistributed.ID64 : XPCDistributed.XPCSystem.TransportReceiver.PeerTaskTable.Slot]> } let isCancelledFuse: XPCDistributed.Fuse let actorSystem: XPCDistributed.XPCSystem let peerHandler: @Sendable (_: consuming XPCDistributed.XPCSystem.Session.LocalInterface) async -> (result: (), token: XPCDistributed.XPCSystem.Session.LocalInterface.ActivationToken) var cancellationHandler: (@Sendable () -> ())? let peerHandlingTasks: XPCDistributed.XPCSystem.TransportReceiver.PeerTaskTable init(actorSystem: XPCDistributed.XPCSystem, peerHandler: @escaping @Sendable (_: consuming XPCDistributed.XPCSystem.Session.LocalInterface) async -> (result: (), token: XPCDistributed.XPCSystem.Session.LocalInterface.ActivationToken)) final var peerTaskCount: Swift.Int { get } final func attachTransport(_: XPCDistributed.XPCSystem.Transport) throws(XPCDistributed.XPCSystem.SetupError) final func unwindPeers() async final func attachLocalSession(_: XPCDistributed.XPCSystem.Session) -> XPCDistributed.XPCSystem.Session final func setCancellationHandler(_: @escaping @Sendable () -> ()) final func cancel() deinit }