NSXPCListenerEndpoint Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/Foundation.framework
Availability
Available in OS X v10.8 and later.
Declared in
Related sample code

Overview

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.