An object that names a specific XPC listener.


class NSXPCListenerEndpoint : NSObject


An instance of NSXPCListenerEndpoint may be retrieved from an NSXPCListener instance and sent over existing NSXPCConnections. A process may then use the endpoint to create a new NSXPCConnection to the original NSXPCListener.

This pattern is useful if you have a service which multiplexes work to other services. The service can act as an intermediate helper. The requesting application does not need to know specifically which service it is connecting to, just that it implements a known NSXPCInterface.


Inherits From

See Also

XPC Services

class NSXPCListener

A listener that waits for new incoming connections, configures them, and accepts or rejects them.

protocol NSXPCListenerDelegate

The protocol that delegates to the XPC listener use to accept or reject new connections.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software