|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.lightstreamer.ls_client.SimpleTableInfo
public class SimpleTableInfo
Contains the specification of a table to be subscribed to Lightstreamer Server.
| 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 mode,
java.lang.String schema,
boolean snap)
Constructs a table specification with basic table attributes. |
|
| Method Summary | |
|---|---|
void |
requestUnfilteredDispatching()
Requests that events for the items in the table are dispatched in an unfiltered way. |
void |
setRange(int start,
int end)
Specifies a subrange of the specified Group of items to be requested. |
void |
setRequestedBufferSize(int bufferSize)
Sets the requested size for the Server ItemEventBuffer for all the items in the table. |
void |
setRequestedDistinctSnapshotLength(int snapshotLength)
Sets the requested length for the snapshot to be received for all the items in the table. |
void |
setRequestedMaxFrequency(double maxFrequency)
Sets the maximum update frequency 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMMAND
public static final java.lang.String DISTINCT
public static final java.lang.String MERGE
public static final java.lang.String RAW
| Constructor Detail |
|---|
public SimpleTableInfo(java.lang.String group,
java.lang.String mode,
java.lang.String schema,
boolean snap)
throws SubscrException
group - Name of the Group of items in the table.mode - Subscription mode for all items in the table.schema - Name of the Schema for all items in the table.snap - If true, requires the snapshot for all items in the table.
The snapshot can be requested only for MERGE, DISTINCT and COMMAND
Items mode.
SubscrException - Thrown if the snapshot request is not compatible
with the supplied subscription mode.| Method Detail |
|---|
public void requestUnfilteredDispatching()
throws SubscrException
SubscrException - Thrown if unfiltered dispatching is not
compatible with the supplied subscription mode.
public void setRange(int start,
int end)
start - 1-based Index of the first item in the Group.end - 1-based Index of the last item in the Group.
public void setRequestedBufferSize(int bufferSize)
throws SubscrException
bufferSize - the size requested for the ItemEventBuffers.
SubscrException - Thrown if buffer size setting is not compatible
with the supplied subscription mode.
public void setRequestedDistinctSnapshotLength(int snapshotLength)
throws SubscrException
snapshotLength - the length requested for the snapshot.
SubscrException - Thrown if snapshot length setting is not
compatible with the supplied parameters.
public void setRequestedMaxFrequency(double maxFrequency)
throws SubscrException
maxFrequency - the frequency requested for the items.
SubscrException - Thrown if maximum frequency setting is not
compatible with the supplied subscription mode.public void setSelector(java.lang.String selector)
selector - name of a Selector. It will be interpreted
by the Metadata Provider.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||