---
title: NSXPCListenerEndpoint
framework: foundation
role: symbol
role_heading: Class
path: foundation/nsxpclistenerendpoint
---

# NSXPCListenerEndpoint

An object that names a specific XPC listener.

## Declaration

```swift
class NSXPCListenerEndpoint
```

## Overview

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.

## Topics

### Initializers

- [init(coder:)](foundation/nsxpclistenerendpoint/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### XPC Services

- [NSXPCListener](foundation/nsxpclistener.md)
- [NSXPCListenerDelegate](foundation/nsxpclistenerdelegate.md)
