Thinfinity.JsRO

Thinfinity.JsRO is a Javascript pseudo-class for GUI remoting and full web integration. It allows you to create remotable objects, and their properties, methods and events are mirrored to the web as native javascript objects. There must be a unique HOST to communicate with, and there can be more than one REMOTE for the same HOST. The HOST will keep all REMOTES synchronized, even when a REMOTE changes a value locally the other REMOTES will receive a notification.

JavaScript

var JsRO = new Thinfinity.JsRO({

 //'autoStart':false [optional]

});

Parameters

Parameters

Description

autoStart

(optional) allows you to set off automatically the linkage, by default is TRUE.

Returns

Thinfinity.JsRO Object.

Notes

To use this pseudo-class you must have got an existing HOST created.

Version

20141216.1

Group

VirtualUI.sdk.min.js

Methods

Name

Description

start

Allows you to start linkage protocol manually with the HOST. It will be available when 'autoStart' is set to false.

on

Allows you to add an event to a specific node.

off

Allows you to remove an event from a specific node.

Properties

Name

Description

model

Model is just an entry point of the data object tree. All remote objects will be displayed as object-structure and can be accessed through their names.