|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TableListener
This interface represents table events listener.
User: MMarkelov Date: 12.10.12 Time: 13:31:03
| Method Summary | |
|---|---|
void |
onClear(java.lang.String tableName)
This callback is called when all data have been cleared by the server. |
void |
onClose(java.lang.String tableName)
Indicates that this Table object been disconnected from the SrvrSession. |
void |
onData(java.lang.String code,
java.lang.String tableName,
java.util.List<Row> rows)
This callback is called in response of invocation getSlice or getData methods of Table. |
void |
onDataComplete(java.lang.String code,
java.lang.String tableName)
This callback indicates that request with given code is complete. |
void |
onDelete(java.lang.String tableName,
java.lang.Long recid)
This callback is called when some data was removed from the table. |
void |
onInsert(java.lang.String tableName,
Row row)
This callback is called when some data by subscription received. |
void |
onModify(java.lang.String tableName,
Row row)
This callback is called when some data was modified in the table. |
void |
onPartInsert(java.lang.String tableName,
Row row)
This callback is called when some data by subscription received. |
| Method Detail |
|---|
void onData(java.lang.String code,
java.lang.String tableName,
java.util.List<Row> rows)
Table.
code - request id generated by Table getSlice or getData methods.tableName - name of the table.rows - data rows.
void onDataComplete(java.lang.String code,
java.lang.String tableName)
code - request id generated by Table getSlice or getData methods.tableName - name of the table.
void onInsert(java.lang.String tableName,
Row row)
tableName - name of the table.row - data row.
void onPartInsert(java.lang.String tableName,
Row row)
SrvrSession to true.
Valid for Quotes and AllTrades tables.
tableName - name of the table.row - data row.
void onModify(java.lang.String tableName,
Row row)
tableName - name of the table.row - update data row.
void onDelete(java.lang.String tableName,
java.lang.Long recid)
tableName - name of the table.recid - key field (the first one, usually it's I_RID).void onClear(java.lang.String tableName)
tableName - name of the table.void onClose(java.lang.String tableName)
Table object been disconnected from the SrvrSession.
tableName - name of the table.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||