public class BlockTradeExecuteSentResponder extends FXResponder<BlockTrade>
A Responder for block trades that can to respond from the ExecuteSent
BlockTrade.getExecutedSentResponder()
Constructor and Description |
---|
BlockTradeExecuteSentResponder(BlockTrade trade)
Constructs a Responder that can send messages from the ExecuteSent
state for the BlockTrade trade model.
|
Modifier and Type | Method and Description |
---|---|
void |
sendExecuteAck(BlockTradeExecuteAckEvent event)
Sends a message to acknowledge to the client that its trade submission
message has been received by the backend.
|
sendError, sendReject
public BlockTradeExecuteSentResponder(BlockTrade trade)
BlockTrade.getExecutedSentResponder()
to retrieve an instance.trade
- The trade that this responder will send messages for.public void sendExecuteAck(BlockTradeExecuteAckEvent event) throws com.caplin.trading.TradeException
event
- the event to notify to the client that request to execute
a block trade has been received by the backend.com.caplin.trading.TradeException
- if there was a problem sending the eventCopyright © 2015 Caplin Systems.