Class BlockTradeExecuteSentResponder
java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<BlockTrade>
com.caplin.motif.fx.trading.block.responder.BlockTradeExecuteSentResponder
A Responder for block trades that can to respond from the ExecuteSent
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs a Responder that can send messages from the ExecuteSent state for the BlockTrade trade model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Sends a message to acknowledge to the client that its trade submission message has been received by the backend.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
BlockTradeExecuteSentResponder
Constructs a Responder that can send messages from the ExecuteSent state for the BlockTrade trade model.Please use
BlockTrade.getExecutedSentResponder()
to retrieve an instance.- Parameters:
trade
- The trade that this responder will send messages for.
-
-
Method Details
-
sendExecuteAck
public void sendExecuteAck(BlockTradeExecuteAckEvent event) throws com.caplin.trading.TradeException Sends a message to acknowledge to the client that its trade submission message has been received by the backend.- Parameters:
event
- the event to notify to the client that request to execute a block trade has been received by the backend.- Throws:
com.caplin.trading.TradeException
- if there was a problem sending the event
-