SwiftclassContactsUICore

class ContactsUICore.XPCClient

Members 11

  1. deinitdeinit
  2. fieldvar _connection: ContactsUICore.Resettable<NSXPCConnection?>
  3. fieldvar connectionClosure: (() throws -> NSXPCConnection)?
  4. fieldlet queue: OS_dispatch_queue
  5. funcdestroyConnection() -> ()
  6. funchandleServerDisconnect() -> ()
  7. funcwithHost(body: (A.HostObjectInterface) throws -> (), errorHandler: (Error) -> ()) throws -> ()
  8. funcwithSynchronousHost<A>(body: (A.HostObjectInterface) throws -> A1, errorHandler: (Error) -> ()) throws -> A1?
  9. initContactsUICore.XPCClient.__allocating_init(connection: () throws -> NSXPCConnection) -> ContactsUICore.XPCClient<A>
  10. initContactsUICore.XPCClient.__allocating_init(listenerEndpoint: NSXPCListenerEndpoint) -> ContactsUICore.XPCClient<A>
  11. initContactsUICore.XPCClient.__allocating_init() -> ContactsUICore.XPCClient<A>
class XPCClient<A>: __C.NSObject where A: ContactsUICore.XPCInterface {
    let queue: __C.OS_dispatch_queue
    var connectionClosure: (() throws -> __C.NSXPCConnection)?
    // synthesized from the backing storage `_connection`; the property's own accessors are stripped
    @ContactsUICore.Resettable var connection: __C.NSXPCConnection? {
        get
    }

    func destroyConnection()
    func handleServerDisconnect()

    init(connection: @escaping () throws -> __C.NSXPCConnection)
    init(listenerEndpoint: __C.NSXPCListenerEndpoint)
    @objc override init()

    final func withSynchronousHost<A1>(body: (_: A.HostObjectInterface) throws -> A1, errorHandler: @escaping (_: any Swift.Error) -> ()) throws -> A1?
    final func withHost(body: (_: A.HostObjectInterface) throws -> (), errorHandler: @escaping (_: any Swift.Error) -> ()) throws

    deinit
}