in mbp-only/src/main/java/com/epam/cme/mdp3/core/control/InstrumentMdHandler.java [194:257]
public void handleIncrementalRefreshEntry(final FieldSet incrementEntry) {
if (!this.enabled) return;
final MDEntryType mdEntryType = MDEntryType.fromFIX(incrementEntry.getChar(269));
switch (mdEntryType) {
case Bid:
if (this.multipleDepthBookHandler != null)
this.multipleDepthBookHandler.handleIncrementBidEntry(incrementEntry);
break;
case Offer:
if (this.multipleDepthBookHandler != null)
this.multipleDepthBookHandler.handleIncrementOfferEntry(incrementEntry);
break;
case Trade:
if (this.tradeHandler != null) this.tradeHandler.updateTradeSummary(incrementEntry);
break;
case OpeningPrice:
if (this.statisticsHandler != null) this.statisticsHandler.updateOpeningPrice(incrementEntry);
break;
case SettlementPrice:
if (this.statisticsHandler != null) this.statisticsHandler.updateSettlementPrice(incrementEntry);
break;
case TradingSessionHighPrice:
if (this.statisticsHandler != null)
this.statisticsHandler.updateTradingSessionHighPrice(incrementEntry);
break;
case TradingSessionLowPrice:
if (this.statisticsHandler != null) this.statisticsHandler.updateTradingSessionLowPrice(incrementEntry);
break;
case TradeVolume:
if (this.statisticsHandler != null) this.statisticsHandler.updateTradeVolume(incrementEntry);
break;
case OpenInterest:
if (this.statisticsHandler != null) this.statisticsHandler.updateOpenInterest(incrementEntry);
break;
case ImpliedBid:
if (this.impliedBookHandler != null) this.impliedBookHandler.handleIncrementBidEntry(incrementEntry);
break;
case ImpliedOffer:
if (this.impliedBookHandler != null) this.impliedBookHandler.handleIncrementOfferEntry(incrementEntry);
break;
case EmptyBook:
clearBooks();
break;
case SessionHighBid:
if (this.statisticsHandler != null) this.statisticsHandler.updateSessionHighBid(incrementEntry);
break;
case SessionLowOffer:
if (this.statisticsHandler != null) this.statisticsHandler.updateSessionLowOffer(incrementEntry);
break;
case FixingPrice:
if (this.statisticsHandler != null) this.statisticsHandler.updateFixingPrice(incrementEntry);
break;
case ElectronicVolume:
if (this.tradeHandler != null) this.tradeHandler.updateElectronicVolume(incrementEntry);
break;
case ThresholdLimitsandPriceBandVariation:
if (this.statisticsHandler != null)
this.statisticsHandler.updateThresholdLimitsAndPriceBandVariation(incrementEntry);
break;
default:
throw new IllegalStateException();
}
}