SwiftclassContactsUICore
class ContactsUICore.XPCClient
Members 11
- deinit
deinit - field
var _connection: ContactsUICore.Resettable<NSXPCConnection?> - field
var connectionClosure: (() throws -> NSXPCConnection)? - field
let queue: OS_dispatch_queue - func
destroyConnection() -> () - func
handleServerDisconnect() -> () - func
withHost(body: (A.HostObjectInterface) throws -> (), errorHandler: (Error) -> ()) throws -> () - func
withSynchronousHost<A>(body: (A.HostObjectInterface) throws -> A1, errorHandler: (Error) -> ()) throws -> A1? - init
ContactsUICore.XPCClient.__allocating_init(connection: () throws -> NSXPCConnection) -> ContactsUICore.XPCClient<A> - init
ContactsUICore.XPCClient.__allocating_init(listenerEndpoint: NSXPCListenerEndpoint) -> ContactsUICore.XPCClient<A> - init
ContactsUICore.XPCClient.__allocating_init() -> ContactsUICore.XPCClient<A>
Header
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 }