com.lightstreamer.ls_client
Class ExtendedTableInfo

java.lang.Object
  extended by com.lightstreamer.ls_client.SimpleTableInfo
      extended by com.lightstreamer.ls_client.ExtendedTableInfo

public class ExtendedTableInfo
extends SimpleTableInfo

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.


Field Summary
 
Fields inherited from class com.lightstreamer.ls_client.SimpleTableInfo
COMMAND, DISTINCT, MERGE, RAW
 
Constructor Summary
ExtendedTableInfo(java.lang.String[] items, java.lang.String mode, java.lang.String[] fields, boolean snapshot)
          Constructs a table specification with basic table attributes.
 
Method Summary
 void setRange(int start, int end)
          Inherited from SimpleTableInfo, but ignored in this case.
 
Methods inherited from class com.lightstreamer.ls_client.SimpleTableInfo
requestUnfilteredDispatching, setDataAdapter, setRequestedBufferSize, setRequestedDistinctSnapshotLength, setRequestedMaxFrequency, setSelector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedTableInfo

public ExtendedTableInfo(java.lang.String[] items,
                         java.lang.String mode,
                         java.lang.String[] fields,
                         boolean snapshot)
                  throws SubscrException
Constructs a table specification with basic table attributes.

Parameters:
items - Array of names of the items in the table.
mode - Subscription mode for all items in the table.
fields - Array of names of the fields for all items in the table.
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.
Throws:
SubscrException - Thrown if the snapshot request is not compatible with the supplied subscription mode.
Method Detail

setRange

public void setRange(int start,
                     int end)
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.

Overrides:
setRange in class SimpleTableInfo
Parameters:
start - ignored.
end - ignored.