|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lightstreamer.javameclient.midp.SimpleTableInfo
public class SimpleTableInfo
Bean object that contains the specification of a table to be subscribed to.
| Field Summary | |
|---|---|
static java.lang.String |
COMMAND
String constant for COMMAND subscription mode. |
static java.lang.String |
DISTINCT
String constant for DISTINCT subscription mode. |
static java.lang.String |
MERGE
String constant for MERGE subscription mode. |
static java.lang.String |
RAW
String constant for RAW subscription mode. |
| Constructor Summary | |
|---|---|
SimpleTableInfo(java.lang.String group,
java.lang.String schema,
java.lang.String mode)
Constructs a table specification with basic table attributes. |
|
| Method Summary | |
|---|---|
void |
setDataAdapter(java.lang.String dataAdapter)
Specifies the name of the Data Adapter (within the Adapter Set used by the current session) that supplies all the items in the Group. |
void |
setDistinctSnapshotLength(int snapshotLength)
Setter method that sets the snapshot length requested to be requested to Lightstreamer Server for all the items in the table (though the length of the received snapshot may be less than requested, because of insufficient data or server side limits). |
void |
setItemsRange(int start,
int end)
Setter method that sets a range of items within the specified group. |
void |
setRequestedBufferSize(int bufferSize)
Setter method that sets the length of Lightstreamer Server's buffer for the internal queueing of updates for each item in the data table. |
void |
setRequestedMaxFrequency(int maxFrequency)
Setter method that sets the maximum update frequency to be requested to Lightstreamer Server for all the items in the table. |
void |
setSelector(java.lang.String selector)
Specifies a selector to be applied by the Server to the updates pertaining to all the Items in the Group. |
void |
setSnaspshotRequired(boolean required)
Setter method that enables/disables snapshot delivery request for the items in the data table. |
void |
setUnfilteredMaxFrequency()
Setter method that can be used to request unfiltered dispatching for the items in the table. |
void |
setUnlimitedBufferSize()
Setter method that sets to unlimited the length of the internal queueing buffers to be requested to Lightstreamer Server for the items in the data table. |
void |
setUnlimitedMaxFrequency()
Setter method that can be used to remove settings of setRequestedMaxFrequency(int) and setUnfilteredMaxFrequency()
This way the maximum frequency is decided by the Server. |
java.lang.String |
toString()
Returns a string representation of the table. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MERGE
public static final java.lang.String DISTINCT
public static final java.lang.String RAW
public static final java.lang.String COMMAND
| Constructor Detail |
|---|
public SimpleTableInfo(java.lang.String group,
java.lang.String schema,
java.lang.String mode)
group - Name of the Group of items in the table. It will be interpreted by the Metadata Adapter.schema - Name of the Schema for all items in the table. It will be interpreted by the Metadata Adapter.mode - Subscription mode for all items in the table. Can be one of the following:| Method Detail |
|---|
public void setSelector(java.lang.String selector)
selector - name of a Selector. It will be interpreted by the Metadata Adapter.public void setDataAdapter(java.lang.String dataAdapter)
dataAdapter - the name of the Data Adapter. A null value is
equivalent to the "DEFAULT" name.ConnectionInfo.setAdapter(java.lang.String)public void setRequestedBufferSize(int bufferSize)
setUnlimitedBufferSize()
bufferSize - the size requested for the ItemEventBuffers.setUnlimitedBufferSize(),
setRequestedMaxFrequency(int)public void setUnlimitedBufferSize()
setRequestedBufferSize(int)
setRequestedBufferSize(int),
setRequestedMaxFrequency(int)public void setRequestedMaxFrequency(int maxFrequency)
setUnlimitedMaxFrequency() and setUnfilteredMaxFrequency()
maxFrequency - the frequency requested for the items.setUnlimitedMaxFrequency(),
setUnfilteredMaxFrequency()public void setUnfilteredMaxFrequency()
setUnlimitedMaxFrequency() and setRequestedMaxFrequency(int)
public void setUnlimitedMaxFrequency()
setRequestedMaxFrequency(int) and setUnfilteredMaxFrequency()
This way the maximum frequency is decided by the Server.
public void setSnaspshotRequired(boolean required)
setDistinctSnapshotLength(int) to specify the requested length of the snapshot.
required - true/false to request/not request snapshot delivery. If false this method will also override setDistinctSnapshotLength settings.public void setDistinctSnapshotLength(int snapshotLength)
setSnaspshotRequired(boolean) to true
snapshotLength - the requested length of the snapshot
public void setItemsRange(int start,
int end)
start - 1-based index of the first item in the group that has to be subscribed.end - 1-based index of the last item in the group that has to be subscribed.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||