@FunctionalInterface
public static interface MarketPrice.OnStateFunction
MarketPrice
receives a Status message that transports a new State of the MarketPrice
.
This operation is optionally set when the MarketPrice
is created.
See the MarketPrice.Builder.onState(com.thomsonreuters.platformservices.elektron.objects.marketprice.MarketPrice.OnStateFunction)
for more details.Modifier and Type | Method and Description |
---|---|
void |
onState(MarketPrice marketPrice,
com.thomsonreuters.ema.access.OmmState state)
Called when a
MarketPrice receives a new state. |
void onState(MarketPrice marketPrice, com.thomsonreuters.ema.access.OmmState state)
MarketPrice
receives a new state.marketPrice
- the MarketPrice.state
- the received state.