Flash Client 1.1

Class JavaScriptBridge

Object
   |
   +--JavaScriptBridge

class JavaScriptBridge


ActionScript bridge class that communicates with the corresponding JavaScript side within the Push-page. Used to bind the HTML object containing the Flash movie to the Push-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 Push-page.
 
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 containing Push-page 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 Push-page is completed.
 void onStatusChange(<String> newStatus)
           Event handler that receives a notification each time the Engine status 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.1

Lightstreamer Flash Client
Documentation generated by JSDoc on Wed Apr 4 13:19:28 2012