public method O2GOffersTable.unsubscribeUpdate

Brief

Unsubscribes a table listener from table updates.

Declaration
Java
void  unsubscribeUpdate (O2GTableUpdateType updateType, IO2GTableListener listener)

Parameters
updateType

The type of an update.

listener

An instance of the class implementing the IO2GTableListener interface.

Details

Before the logout, you must unsubscribe a table listener from each subscribed update type individually. The examples below are based on the Trades table.

Update type

Subscribe syntax

INSERT

tradesTable.unsubscribeUpdate(O2GTableUpdateType.INSERT, tableListener);

UPDATE

tradesTable.unsubscribeUpdate(O2GTableUpdateType.UPDATE, tableListener);

DELETE

tradesTable.unsubscribeUpdate(O2GTableUpdateType.DELETE, tableListener);

Declared in O2GTable

back