publishVectorToInfoBus method


Publishes a String array to the InfoBus as a data item of type ArrayAccess.

Syntax

ScriptHelper.publishVectorToInfoBus(itemName, InfoBusVector)

Applies to

ScriptHelper object.

Parameters

itemName
String. The name by which the new data item is announced, managed, and retrieved by InfoBus members.
InfoBusVector
InfoBusVector. The 2-dimensional array of Strings held in the new data item. You need to have created the InfoBusVector object and populated it with the 2D String array prior to calling this method.

Usage

The published data item has Java data type ArrayAccess.

If you specify a new data item name, all previously published items remain available. If you specify an item name that has already been published, the ScriptHelper applet revokes the old data item of the same name.

Example
InfoBusVector example

See also
ScriptHelper applet
publishStringToInfoBus method
createInfoBusVector method
InfoBusVector class