Class BlockTradePickedUpResponder
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
com.caplin.motif.fx.trading.block.responder.BlockTradePickedUpResponder
A Responder for block trades that can to send messages from the PickedUp state.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs a Responder that can respond from the PickedUp state for the BlockTrade trade model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendTradeHeld
(BlockTradeHeldEvent event) Sends a message to notify the client that the trade has been held by an auto trade or manual dealer.Methods inherited from class com.caplin.motif.fx.trading.block.responder.BlockTradeQuoteResponder
sendPriceUpdate
Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
BlockTradePickedUpResponder
Constructs a Responder that can respond from the PickedUp state for the BlockTrade trade model.Please use
BlockTrade.getPickedUpResponder()
to retrieve this instance.- Parameters:
trade
- The trade this responder will send messages for.
-
-
Method Details
-
sendTradeHeld
Sends a message to notify the client that the trade has been held by an auto trade or manual dealer.- Parameters:
event
- The event to send to the client.- Throws:
com.caplin.trading.TradeException
- if there was a problem sending the event
-