Contents

XPC_TYPE_ENDPOINT

A type that represents a connection in serialized form.

Declaration

var XPC_TYPE_ENDPOINT: xpc_type_t { get }

Discussion

Unlike a connection, an endpoint is an inert object that doesn’t have any associated runtime activity. So, it is safe to pass an endpoint in a message. Upon receiving an endpoint, the recipient can use xpc_connection_create_from_endpoint(_:) to create as many distinct connections as necessary.

See Also

Types of objects