Class BlockTradeClientCloseSentResponder
- java.lang.Object
-
- com.caplin.motif.fx.trading.Responder<T>
-
- com.caplin.motif.fx.trading.FXResponder<BlockTrade>
-
- com.caplin.motif.fx.trading.block.responder.BlockTradeClientCloseSentResponder
-
public class BlockTradeClientCloseSentResponder extends FXResponder<BlockTrade>
The Responder for block trades that can send messages from the ClientCloseSent state.
- See Also:
BlockTrade.getClientCloseSentResponder()
-
-
Constructor Summary
Constructors Constructor Description BlockTradeClientCloseSentResponder(BlockTrade trade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sendClientCloseAck(BlockTradeClientCloseAckEvent event)
Sends an acknowledgement to the client notifying that it's request to close/cancel the block trade has been received.-
Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
-
-
-
Constructor Detail
-
BlockTradeClientCloseSentResponder
public BlockTradeClientCloseSentResponder(BlockTrade trade)
-
-
Method Detail
-
sendClientCloseAck
public void sendClientCloseAck(BlockTradeClientCloseAckEvent event) throws com.caplin.trading.TradeException
Sends an acknowledgement to the client notifying that it's request to close/cancel the block trade has been received.- Parameters:
event
- The event to send to the client.- Throws:
com.caplin.trading.TradeException
- if there was a problem sending the client close ack
-
-