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
-
public class BlockTradePickedUpResponder extends BlockTradeQuoteResponder
A Responder for block trades that can to send messages from the PickedUp state.
- See Also:
BlockTrade.getPickedUpResponder()
-
-
Constructor Summary
Constructors Constructor Description BlockTradePickedUpResponder(BlockTrade trade)
Constructs a Responder that can respond from the PickedUp state for the BlockTrade trade model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
BlockTradePickedUpResponder
public BlockTradePickedUpResponder(BlockTrade trade)
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 Detail
-
sendTradeHeld
public void sendTradeHeld(BlockTradeHeldEvent event) throws com.caplin.trading.TradeException
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
-
-