Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSXPCListenerMBS class.
NSXPCListenerMBS.CallMethod(Name as string, Parameters() as Variant) as Variant()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Process | MBS MacFrameworks Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Return array of variant for the results.
NSXPCListenerMBS.shouldAcceptNewConnection(newConnection as NSXPCConnectionMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Process | MBS MacFrameworks Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ❌ No |
To accept the connection, first configure the connection if desired, then call resume on the new connection, then return true.
To reject the connect, return a value of false. This causes the connection object to be invalidated.
In this method, you can also set up properties on the connection object, such as its exported object and interfaces. Be sure to call resume when you are finished configuring the connection object and are ready for it to receive messages.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.