Class

NSXPCListenerEndpoint

An object that names a specific XPC listener.

Overview

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.

Relationships

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.