public class OrderChangeStateSentResponder extends FXResponder<MotifTrade>
A Responder for the OrderChangeState trade model that can respond from the ChangeStateSent state.
Constructor and Description |
---|
OrderChangeStateSentResponder(ChangeActiveState trade)
Constructs a Responder that can respond from the ChangeStateSent state
for the OrderChangeState trade model.
|
Modifier and Type | Method and Description |
---|---|
void |
sendChangeStateAck(OrderChangeStateAckEvent event)
Sends a acknowledgement to the client informing it that has received the
order change state request.
|
sendError, sendReject
public OrderChangeStateSentResponder(ChangeActiveState trade)
ChangeActiveState.getChangeStateSentResponder()
to retrieve an instance.trade
- The object representing the trade that the client wants to
change the state of, which this responder can send messages
for.public void sendChangeStateAck(OrderChangeStateAckEvent event) throws com.caplin.trading.TradeException
event
- The event sent to acknowledge to the client that the request has been received.com.caplin.trading.TradeException
- If there was a problem sending the eventCopyright © 2015 Caplin Systems.