Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSXPCConnectionMBS class.

NSXPCConnectionMBS.CallMethodReturned(name as string, tag as Variant, Parameters() as Variant, Results() as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Process MBS MacFrameworks Plugin 14.2 ✅ Yes ❌ No ❌ No ❌ No
The event called when method returns.

Some examples using this event:

NSXPCConnectionMBS.ErrorHandler(error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Process MBS MacFrameworks Plugin 14.2 ✅ Yes ❌ No ❌ No ❌ No
The error event for errors happening when calling method.

Some examples using this event:

NSXPCConnectionMBS.InterruptionHandler

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Process MBS MacFrameworks Plugin 14.2 ✅ Yes ❌ No ❌ No ❌ No
The event is called if the remote process exits or crashes.

It may be possible to re-establish the connection by simply sending another message. The handler is invoked on the same queue as reply messages and other handlers, and it is always executed after any other messages or reply block handlers (except for the invalidation handler).

Some examples using this event:

NSXPCConnectionMBS.InvalidationHandler

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Process MBS MacFrameworks Plugin 14.2 ✅ Yes ❌ No ❌ No ❌ No
This event is invoked on the same queue as reply messages and other handlers, and is always executed last (after the interruption handler, if required).

You may not send messages over the connection from within an invalidation handler block.

Some examples using this event:

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...