public class BlockTradeExecutedResponder extends BlockTradeExpiredResponder
A Responder for block trades that can to send messages from the Submitted state.
BlockTrade.getExecutedResponder()
Constructor and Description |
---|
BlockTradeExecutedResponder(BlockTrade trade)
Constructs a Responder that can respond from the Submitted state
for the BlockTrade trade model.
|
Modifier and Type | Method and Description |
---|---|
void |
sendTradeConfirmation(BlockTradeConfirmationEvent event)
Sends a trade confirmation event to notify the client that the trade
has been successfully executed with the trade fields that the event was
constructed with.
|
sendExpired
sendError, sendReject
public BlockTradeExecutedResponder(BlockTrade trade)
BlockTrade.getExecutedResponder()
to retrieve this instancetrade
- The trade this responder will send messages forpublic void sendTradeConfirmation(BlockTradeConfirmationEvent event) throws com.caplin.trading.TradeException
event
- The event containing the fields that have been used to
execute the trade.com.caplin.trading.TradeException
- if there was a problem sending the eventCopyright © 2015 Caplin Systems.