Mac Developer Library

Developer

Foundation Framework Reference NSXPCListenerEndpoint Class Reference

Options
Deployment Target:

On This Page
Language:

NSXPCListenerEndpoint

Inheritance


Import Statement


Swift

import Foundation

Objective-C

@import Foundation;

Availability


Available in OS X v10.8 and later.

Class that "names" a specific NSXPCListener object.

An instance may be retrieved from an NSXPCListener and sent over existing NSXPCConnections. A process may then use it 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.