Interface
caplin.trading.trademodel

DataFieldChangedListener

DataFieldChangedListeners are notified whenever a data field value is changed in the data source.

Constructor Summary

Attributes Name and Description
caplin.trading.trademodel.DataFieldChangedListener()

The super constructor of implementors of DataFieldChangedListener.

Method Summary

Attributes Name and Description
void dataFieldChanged(String sValue, String sOldValue, Map mTradeData, int nUpdateId)

Notifies listener that the data field value has changed.

Constructor Detail

caplin.trading.trademodel.DataFieldChangedListener()

The super constructor of implementors of DataFieldChangedListener.

Method Detail

void dataFieldChanged(String sValue, String sOldValue, Map mTradeData, int nUpdateId)

Notifies listener that the data field value has changed.

Parameters
String sValue The value that of the field that was changed.
String sOldValue The value of the field before the data was changed. This value will be undefined if there was no previous value.
Map mTradeData Map of the values changed in this update.
int nUpdateId Identifier that can be used to determine which update batch this notification belongs to.