public interface ReplayServiceCallbackHandler extends CallbackHandler
| Modifier and Type | Method and Description |
|---|---|
default void |
onBusinessMessageReject(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.BusinessMessageRejectDecoder businessMessageReject) |
default void |
onEndMarker(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.EndMarkerDecoder endMarker) |
default void |
onErrorReport(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.ErrorReportDecoder errorReport) |
default void |
onExecutionAck(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.ExecutionAckDecoder executionAck) |
default void |
onExecutionReport(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.ExecutionReportDecoder executionReport) |
default void |
onMarketDataIncrementalRefresh(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.MarketDataIncrementalRefreshDecoder marketDataIncrementalRefresh) |
default void |
onMarketDataRequestReject(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.MarketDataRequestRejectDecoder marketDataRequestReject) |
default void |
onMassQuote(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.MassQuoteDecoder massQuote) |
default void |
onNewOrderMultileg(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.NewOrderMultilegDecoder newOrderMultileg) |
default void |
onOrderCancelReject(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.OrderCancelRejectDecoder orderCancelReject) |
default void |
onOrderTimeout(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.OrderTimeoutDecoder orderTimeout) |
default void |
onQuote(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.QuoteDecoder quote) |
default void |
onQuoteCancel(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.QuoteCancelDecoder quoteCancel) |
default void |
onQuoteRequest(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.QuoteRequestDecoder quoteRequest) |
default void |
onQuoteResponse(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.QuoteResponseDecoder quoteResponse) |
default void |
onReject(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.RejectDecoder reject) |
default long |
onReplayRequest(long startMsgSeqNum,
long targetMsgSeqNum)
Must replay the message at the startMsgSeqNum or, if that message is not suitable for replay then a
SequenceResetGapFillEncoder should be used to skip
to the next replayable message or the targetMsgSeqNum value
If there are no more messages to resend then the SequenceResetGapFillEncoder
should contain the targetMsgSeqNum value. |
default void |
onSecurityStatus(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.SecurityStatusDecoder securityStatus) |
default void |
onSequenceGapFill(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.SequenceResetGapFillDecoder sequenceResetGapFill)
The sequenceResetGapFill message will have been handled as per the protocol by the Session.
|
default void |
onUserNotification(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.UserNotificationDecoder userNotification) |
handleUnexpectedMessage, onHeartbeat, onLogonResponse, onMarketFactoryLogOff, onMarketFactoryLogOn, onTestRequest, onVenueLogoff, onVenueLogononApplicationMessageReport, onLogout, onLogoutResponse, onReplayedMessagedefault void onSequenceGapFill(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.SequenceResetGapFillDecoder sequenceResetGapFill)
CallbackHandleronSequenceGapFill in interface CallbackHandleronSequenceGapFill in interface MessageHandlermessageHeader - messageHeadersequenceResetGapFill - messagedefault long onReplayRequest(long startMsgSeqNum,
long targetMsgSeqNum)
CallbackHandlerSequenceResetGapFillEncoder should be used to skip
to the next replayable message or the targetMsgSeqNum value
If there are no more messages to resend then the SequenceResetGapFillEncoder
should contain the targetMsgSeqNum value.
Session.performActions() call while there are messages to replay.
onReplayRequest in interface CallbackHandlerstartMsgSeqNum - the sequence number to start replaying fromtargetMsgSeqNum - the last sequence number to replaydefault void onUserNotification(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.UserNotificationDecoder userNotification)
onUserNotification in interface MessageHandlerdefault void onMassQuote(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.MassQuoteDecoder massQuote)
onMassQuote in interface MessageHandlerdefault void onErrorReport(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.ErrorReportDecoder errorReport)
onErrorReport in interface MessageHandlerdefault void onQuoteResponse(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.QuoteResponseDecoder quoteResponse)
onQuoteResponse in interface MessageHandlerdefault void onOrderCancelReject(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.OrderCancelRejectDecoder orderCancelReject)
onOrderCancelReject in interface MessageHandlerdefault void onOrderTimeout(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.OrderTimeoutDecoder orderTimeout)
onOrderTimeout in interface MessageHandlerdefault void onExecutionReport(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.ExecutionReportDecoder executionReport)
onExecutionReport in interface MessageHandlerdefault void onExecutionAck(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.ExecutionAckDecoder executionAck)
onExecutionAck in interface MessageHandlerdefault void onQuote(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.QuoteDecoder quote)
onQuote in interface MessageHandlerdefault void onSecurityStatus(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.SecurityStatusDecoder securityStatus)
onSecurityStatus in interface MessageHandlerdefault void onMarketDataRequestReject(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.MarketDataRequestRejectDecoder marketDataRequestReject)
onMarketDataRequestReject in interface MessageHandlerdefault void onMarketDataIncrementalRefresh(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.MarketDataIncrementalRefreshDecoder marketDataIncrementalRefresh)
onMarketDataIncrementalRefresh in interface MessageHandlerdefault void onQuoteRequest(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.QuoteRequestDecoder quoteRequest)
onQuoteRequest in interface MessageHandlerdefault void onNewOrderMultileg(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.NewOrderMultilegDecoder newOrderMultileg)
onNewOrderMultileg in interface MessageHandlerdefault void onQuoteCancel(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.QuoteCancelDecoder quoteCancel)
onQuoteCancel in interface MessageHandlerdefault void onEndMarker(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.EndMarkerDecoder endMarker)
onEndMarker in interface MessageHandlerdefault void onReject(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.RejectDecoder reject)
onReject in interface MessageHandlerdefault void onBusinessMessageReject(com.marketfactory.protocol.sbe4.MessageHeaderDecoder messageHeader,
com.marketfactory.protocol.sbe4.BusinessMessageRejectDecoder businessMessageReject)
onBusinessMessageReject in interface MessageHandler