class O2GTable

Parents
O2GGenericTableResponseReader

Brief

The class provides methods to access up-to-date information about a trading table.

Details

The O2GTable is a generic class that provides access to the in-memory representation of the trading tables. The class is available only if your application uses the O2GTableManager class. An instance of the O2GTableManager class must have the O2GTableManagerStatus.TABLES_LOADED status. For complete instructions on the table manager usage, see the How to use table manager in ForexConnect API section.

You can not create an instance of the class directly. You can only use the methods of the class on the following subclasses:
O2GAccountsTable,
O2GOffersTable,
O2GOrdersTable,
O2GTradesTable,
O2GClosedTradesTable,
O2GSummaryTable, and
O2GMessagesTable.

The class allows you to perform the following operations:

The namespace is com.fxcore2.

Public Methods

forEachRow

Iterates through the rows of a table.

getNextGenericRow

Gets the next row from a table.

getNextGenericRowByColumnValue

Gets the next row from O2GTable based on the column value.

getNextGenericRowByColumnValues

Gets the next row from O2GTable based on any of the column values.

getNextGenericRowByMultiColumnValues

Gets the next row from O2GTable based on multiple columns values.

getStatus

Gets the status of a table.

isCellChanged

Checks whether the value of a cell has changed on not.

subscribeStatus

Subscribes a table listener to table status changes.

subscribeUpdate

Subscribes a table listener to table updates.

unsubscribeStatus

Unsubscribes a table listener from table status changes.

unsubscribeUpdate

Unsubscribes a table listener from table updates.

back