public class OrderSubmittedResponder extends FXResponder<MotifTrade>
Constructor and Description |
---|
OrderSubmittedResponder(MotifTrade trade)
Constructs a Responder that can respond from the Submitted state for the
Order Submission trade model.
|
Modifier and Type | Method and Description |
---|---|
void |
sendSubmitAck(OrderSubmitAckEvent event)
Sends an event to notify the frontend that Submit message has been acknowledged.
|
sendError, sendReject
public OrderSubmittedResponder(MotifTrade trade)
MotifOrderStrategy.getSubmittedResponder()
to retrieve an instance.trade
- The trade this responder should respond for.public void sendSubmitAck(OrderSubmitAckEvent event) throws com.caplin.trading.TradeException
event
- The SubmitAck event.com.caplin.trading.TradeException
- If there was a problem sending the eventCopyright © 2015 Caplin Systems.