|Constructor and Description|
Constructs a Responder that can respond from the Submitted state for the BlockTrade trade model.
|Modifier and Type||Method and Description|
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.
equals, hashCode, respond, toString
public BlockTradeExecutedResponder(BlockTrade trade)
to retrieve this instance
trade- The trade this responder will send messages for
public void sendTradeConfirmation(BlockTradeConfirmationEvent event) throws com.caplin.trading.TradeException
Typically the client will be shown these fields in order to verify what has been executed in the back-end trading system.
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 event
Copyright © 2020 Caplin Systems.