Contains the specification of a table to be subscribed to Lightstreamer
Server. All the items and fields in the table are supplied.
Group and Schema names to be sent to the Server are made by space
separated concatenations of item and field names. This name convention
is suitable for a Metadata Adapter derived from LiteralBasedProvider
or equivalent to it.
Constructs a table specification with basic table attributes.
The details of the items and fields used are specified.
This requires that a LiteralBasedProvider or equivalent Metadata
Adapter is configured on the Server. As a consequence, the item and field
names specified cannot be empty or null and cannot contain spaces.
items - Array of names of the items in the table; it cannot be empty.
A copy of the array is stored internally.
mode - Subscription mode for all items in the table.
It should be equal to one of the constants defined in the class.
fields - Array of names of the fields for all items in the table;
it cannot be empty. A copy of the array is stored internally.
snapshot - If true, requires the snapshot for all items in the table.
The snapshot can be requested only for MERGE, DISTINCT and COMMAND
Items mode. However, the flag is ignored if requestUnfilteredDispatching()
is also called, as snapshot management is currently not supported for
unfiltered COMMAND mode.
SubscrException - Thrown if the snapshot request is not compatible
with the supplied subscription mode
or any of the item or field names
in the given arrays contains a space or it is empty or null.
public java.lang.String getItems()
Recalls the items contained in this table.
an array of item names. A copy of the stored array
public java.lang.String getFields()
Recalls the fields contained in this table.
an array of field names. A copy of the stored array
public java.lang.String getGroup()
Gets the name of the Group of items contained in this table,
as specified to the Server.
a Schema name made of a space separated list of the specified
public void setRange(int start,
Inherited from SimpleTableInfo, but ignored in this case.
Specifying a subrange of the specified Group of items to be requested
is only meaningful when Group names must be used, so that an explicit
specification for the needed subrange as a Group may not be available.