Eyeon:Script/Reference/Libraries/eyeon/asyncscriptapp
From VFXPedia
Contents |
Usage
eyeon.asyncscriptapp(string application, string host, number timeout, string uuid, string subtype )
- application (required, string)
A name of the application to connect to.
- host (string, required)
This argument should be a string containing the hostname or ip address of the machine hosting the script application.
- timeout (number, optional)
A number which specifies how long in seconds to wait for a valid response before timing out.
- uuid (string, optional )
Allows the user to specify the uuid of the instance of Fusion to connect to.
- subtype (string, optional)
Allows the user to specify the type of Fusion application to connect to. For instance one could specify “RenderManager” to only connect to valid instances of the standalone render manager.
Returns
Returns an object representing a connection to the remote script application of type name.
Remarks
This allows the script to connect asynchronously to any eyeonscript enabled application via TCP/IP. It can be used as a replacement for the Fusion() function, or to connect to a remote bin server, or even a custom scripting application. This is mostly for use by scripts using the host app structure, as they receive the correct event notifications for app connect and disconnect.
Requirements
- eyeonScript 5.1
Examples