SwiftclassXPCDistributed

class XPCDistributed.XPCSystem.TransportReceiver

Members 13

  1. deinitdeinit
  2. fieldlet actorSystem: XPCDistributed.XPCSystem
  3. fieldvar cancellationHandler: (@Sendable () -> ())?
  4. fieldlet isCancelledFuse: XPCDistributed.Fuse
  5. fieldlet peerHandler: @Sendable (__owned XPCDistributed.XPCSystem.Session.LocalInterface) async -> (result: (), token: XPCDistributed.XPCSystem.Session.LocalInterface.ActivationToken)
  6. fieldlet peerHandlingTasks: XPCDistributed.XPCSystem.TransportReceiver.PeerTaskTable
  7. funcattachLocalSession(XPCDistributed.XPCSystem.Session) -> XPCDistributed.XPCSystem.Session
  8. funcattachTransport(XPCDistributed.XPCSystem.Transport) throws(XPCDistributed.XPCSystem.SetupError) -> ()
  9. funccancel() -> ()
  10. funcsetCancellationHandler(@Sendable () -> ()) -> ()
  11. funcunwindPeers() async -> ()
  12. initXPCDistributed.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
  13. varfinal var peerTaskCount: Int { get }
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
}