Flash Client 1.3

Class JavaScriptBridge

Object
   |
   +--JavaScriptBridge

class JavaScriptBridge


ActionScript bridge class that communicates with the corresponding JavaScript side within the hosting page. Used to bind the HTML object containing the Flash movie to the LightstreamerClient instance defined in the page in order to dispatch updates to Flash-side subscribed Tables.
Defined in lsjavascriptbridge.as


Constructor Summary
JavaScriptBridge (<String> objName)
            Bridge object used to enable communication with a page running Lightstreamer Web Client Library.
 
Method Summary
 void addTable(<FlashTable> table,<String> tableSubId)
           Operation method that adds a data table to the "running" tables set, by bringing it to the "running" state and associating it to a unique identifier (Note that the identifier is unique related to the underlying LightstreamerClient instance, not to the Flash movie).
 void bind()
           Initialization method that binds a JavaScriptBridge instance with the Flash movie.
 void onReady()
           Event handler that is called when the binding between this JavaScriptBridge instance and the related "FlashBridge" instance on the hosting page is completed.
 void onStatusChange(<String> newStatus)
           Event handler that receives a notification each time the status of the underlying LightstreamerClient has changed.
 void removeTable(<String> tableSubId)
           Operation method that removes a data table that is currently in the "running" tables set and is associated with a supplied identifier, if any, by bringing it back to the "inactive" state.

Constructor Detail

JavaScriptBridge

JavaScriptBridge(<String> objName)

Method Detail

addTable

void addTable(<FlashTable> table,<String> tableSubId)

bind

void bind()

onReady

void onReady()

onStatusChange

void onStatusChange(<String> newStatus)

removeTable

void removeTable(<String> tableSubId)

Flash Client 1.3

Lightstreamer Flash Client
Documentation generated by JSDoc on Tue Apr 26 17:02:55 2016