Helper::Node Class


Manage and communicate with node instances from Alpha Anywhere.


AddXbasicHandler Method

Register and Xbasic event command handler.

GetLastError Method

Load the last error generated by node.

InvokeEventHandler Method

Call a node handler directly from Xbasic (no overhead) - used to test a node event handler from alpha5.

ListFolders Method

List the folders that are currently running.

Request Method

Make a JSON node request, returns a JSON packat response.

Settings Method

Get/Set node settings (in JSON format) - If settings don't exist, they are loaded from the a5node.json file in the folder.

Shutdown Method

Force a shutdown of the node service.

Startup Method

Startup node service without making any requests.

See Also