The SL4BInstrumentDataSubscriber
class provides an SL4B transport implementation of the caplin.trading.trademodel.InstrumentDataSubscriber
Attributes | Name and Description |
---|---|
|
caplin.trading.trademodel.SL4BInstrumentDataSubscriber(caplin.trading.trademodel.SubjectMapper oSubjectMapper)
|
Attributes | Name and Description |
---|---|
|
void
addDataChangedListener(caplin.trading.trademodel.DataChangedListener oListener)
Adds an object that will have its a callback method executed when the server returns data. |
|
void
removeDataChangedListener( oListener)
Removes the previously registered |
►
caplin.trading.trademodel.SL4BInstrumentDataSubscriber(caplin.trading.trademodel.SubjectMapper oSubjectMapper)
caplin.trading.trademodel.SubjectMapper | oSubjectMapper | Maps the instrument to a subject name, as understood by the Liberator. |
caplin.trading.trademodel.SL4BInstrumentDataSubscriber
.
oSubjectMapper
is null
or is of an incorrect type.
►
void
addDataChangedListener(caplin.trading.trademodel.DataChangedListener oListener)
Adds an object that will have its a callback method executed when the server returns data.
caplin.trading.trademodel.DataChangedListener | oListener | The callback object |
►
void
removeDataChangedListener( oListener)
Removes the previously registered DataChangedListener
.
oListener | The object to be called removed |