public interface SimpleTableListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
UNCHANGED
Constant that represents unchanged fields.
|
Modifier and Type | Method and Description |
---|---|
void |
onControlError(int code,
java.lang.String msg)
Notification that the Server has refused a Subscription request because
of the constraints imposed by the Metadata Adapter or by Server
configuration.
|
void |
onEndOfSnapshot(int item)
Notification that no more snapshot events are coming for an item.
|
void |
onRawUpdatesLost(int item,
int lostUpdates)
Notification of one or more updates that were suppressed in the Server because of internal memory limitations.
|
void |
onUnsubscribe()
Notification of the unsubscription of all the items in the table.
|
void |
onUpdate(int item,
SimpleItemUpdate update)
Notification of an update of the values for an item in the associated table.
|
static final java.lang.String UNCHANGED
void onUpdate(int item, SimpleItemUpdate update)
item
- 1-based index of the item in the Group of items in the table.update
- Object that carries values received from the Server.
The values are reported in the same order as the fields in the Schema of the table.SimpleItemUpdate.isReusable()
void onEndOfSnapshot(int item)
item
- 1-based index of the item in the Group of items in the table.void onRawUpdatesLost(int item, int lostUpdates)
item
- item 1-based index of the item in the Group of items in the table.lostUpdates
- Number of consecutive lost updates for the item.void onControlError(int code, java.lang.String msg)
ConnectionListener.onServerError(int, java.lang.String)
notification to be issued
with error code 19 and the whole session request to fail.code
- The detailed error code, as received from the Server.
Its meaning depends on Lightstreamer Server or the Metadata Adapter.msg
- An error detail message, sent by Lightstreamer Server
or by the Metadata Adapter.LSClient.useSingleConnection(boolean)
void onUnsubscribe()