public class OrderPendingAcceptResponder extends FXResponder<MotifTrade>
Constructor and Description |
---|
OrderPendingAcceptResponder(MotifTrade trade)
Constructs a Responder that can respond from the PendingAccept state for the
Order Submission trade model.
|
Modifier and Type | Method and Description |
---|---|
void |
sendAccept(OrderAcceptEvent event)
Sends an event to notify the frontend that order has been submitted into the OMS.
|
sendError, sendReject
public OrderPendingAcceptResponder(MotifTrade trade)
MotifOrderStrategy.getPendingAcceptResponder()
to retrieve an instance.trade
- The trade this responder should respond for.public void sendAccept(OrderAcceptEvent event) throws com.caplin.trading.TradeException
event
- The activated event.com.caplin.trading.TradeException
- If there was a problem sending the eventCopyright © 2015 Caplin Systems.