public class OrderQueuedResponder extends FXResponder<MotifTrade>
MotifOrderStrategy.getQueuedResponder()
Constructor and Description |
---|
OrderQueuedResponder(MotifTrade trade)
Constructs a Responder that can respond from the Queued 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 the order is now accepted.
|
void |
sendAccepting(OrderAcceptingEvent event)
Sends an event to notify the frontend that the order is now accepting.
|
sendError, sendReject
public OrderQueuedResponder(MotifTrade trade)
MotifOrderStrategy.getQueuedResponder()
to retrieve an instance.trade
- The trade this responder should respond for.public void sendAccepting(OrderAcceptingEvent event) throws com.caplin.trading.TradeException
event
- The accepting event.com.caplin.trading.TradeException
- If there was a problem sending the eventpublic void sendAccept(OrderAcceptEvent event) throws com.caplin.trading.TradeException
event
- The accept event.com.caplin.trading.TradeException
- If there was a problem sending the eventCopyright © 2015 Caplin Systems.