Class BlockTradeSubmittedResponder
java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<BlockTrade>
com.caplin.motif.fx.trading.block.responder.BlockTradeSubmittedResponder
The Responder for block trades that can send messages from the Submitted state.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs a Responder that can respond from the Submitted state for the BlockTrade trade model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Sends a message to acknowledge that the clients request to block trade has been received.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
BlockTradeSubmittedResponder
Constructs a Responder that can respond from the Submitted state for the BlockTrade trade model.Please use
BlockTrade.getSubmittedResponder()
to retrieve this instance- Parameters:
trade
- the Trade this responder will send messages for.
-
-
Method Details
-
sendSubmitAck
Sends a message to acknowledge that the clients request to block trade has been received.- Parameters:
event
- the ack event for the clients request to initiate a block trade.- Throws:
com.caplin.trading.TradeException
- if there was a problem sending the quote
-