Class BlockTradeQuoteResponder
java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<BlockTrade>
com.caplin.motif.fx.trading.block.responder.BlockTradeQuoteResponder
- Direct Known Subclasses:
BlockTradeExecutableResponder
,BlockTradePickedUpResponder
Base class for responding to quotes from block trade states that send quotes
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a Responder that can respond from states that send block trade quotes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendPriceUpdate
(BlockTradePriceUpdateEvent quoteEvent) Sends a block trade trade quote event.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
BlockTradeQuoteResponder
Constructs a Responder that can respond from states that send block trade quotes.- Parameters:
trade
- The trade this responder will send messages for
-
-
Method Details
-
sendPriceUpdate
public void sendPriceUpdate(BlockTradePriceUpdateEvent quoteEvent) throws com.caplin.trading.TradeException Sends a block trade trade quote event.- Parameters:
quoteEvent
- The block trade quote to send to the client.- Throws:
com.caplin.trading.TradeException
- if there was a problem sending the quote
-