Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for XPC #1675

Closed
sfionov opened this issue Sep 27, 2022 · 0 comments
Closed

Prepare for XPC #1675

sfionov opened this issue Sep 27, 2022 · 0 comments

Comments

@sfionov
Copy link
Member

sfionov commented Sep 27, 2022

XPC is an Apple proprietary RPC on top of Mach ports. It is written in C and more lightweight than NSDistantObject (it is on Mach ports too), and even more than eDistantObject.

However, it requires asynchronous interface for exported objects.

We should make callbacks onNewConnection and onCertificateEvent asynchronous with completion methods (handlers?).

Upd: Seems that XPC has synchronous proxies via [NSXPCConnection remoteObjectProxyWithErrorHandler:], so we don't really need noving to async methods

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants