SwiftprotocolProactiveDaemonSupport

protocol ProactiveDaemonSupport.BidirectionalServiceConnectionProtocol

Members 6

  1. associatedtypeassociatedtype LocalService
  2. associatedtypeassociatedtype RemoteService
  3. funcmethod descriptor for call<A>((A.RemoteService.Interface) -> A1) throws -> A1
  4. funcmethod descriptor for call<A>((A.RemoteService.Interface, (A1?, Error?) -> ()) -> ()) throws -> A1
  5. funcmethod descriptor for call<A>((A.RemoteService.Interface, (A1?, Error?) -> ()) -> ()) async throws -> A1
  6. funcmethod descriptor for getCurrentConnectionState() -> ProactiveDaemonSupport.ConnectionState
protocol BidirectionalServiceConnectionProtocol where Self.LocalService: ProactiveDaemonSupport.XPCService, Self.RemoteService: ProactiveDaemonSupport.XPCService {
    associatedtype LocalService
    associatedtype RemoteService

    func getCurrentConnectionState() -> ProactiveDaemonSupport.ConnectionState
    func call<A1>(_: (_: Self.RemoteService.Interface) -> A1) throws -> A1
    func call<A1>(_: (Self.RemoteService.Interface, @escaping (A1?, (any Swift.Error)?) -> ()) -> ()) throws -> A1
    func call<A1>(_: (Self.RemoteService.Interface, @escaping (A1?, (any Swift.Error)?) -> ()) -> ()) async throws -> A1
}