Platforms to show: All Mac Windows Linux Cross-Platform
NSXPCListenerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Process | MBS MacFrameworks Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Each XPC service, launchd agent, or launchd daemon typically has at least one NSXPCListener object that listens for connections to a specified service name.
When the listener receives a new connection request, it creates a new NSXPCConnection object, then asks the delegate to inspect, configure, and resume the connection object by calling the delegate's shouldAcceptNewConnection event.
- 2 events
- event CallMethod(Name as string, Parameters() as Variant) as Variant()
- event shouldAcceptNewConnection(newConnection as NSXPCConnectionMBS) as boolean
- 2 properties
- property endpoint as NSXPCListenerEndpointMBS
- property Handle as Integer
- 7 methods
- method Close
- method Constructor(Anonymous as boolean = false)
- method Constructor(Name as string)
- method Destructor
- method invalidate
- method resume
- method suspend
- shared method Available as boolean
This class has no sub classes.
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
NSXPCListenerEndpointMBS - NWEndPointMBS