public class ClientCloseSentResponder extends FXResponder<ESPTrade>
Responder used for sending events from the ClientCloseSent state.
Constructor and Description |
---|
ClientCloseSentResponder(ESPTrade trade)
Constructs a responder used for sending events from the ClientCloseSent state.
|
Modifier and Type | Method and Description |
---|---|
void |
sendClientCloseAck(ESPClientCloseAckEvent event)
Sends an acknowledgement to the client notifying it that it's request
to close the trade has been received.
|
sendError, sendReject
public ClientCloseSentResponder(ESPTrade trade)
Constructs a responder used for sending events from the ClientCloseSent state.
Please use:
ESPTrade.getClientCloseSentResponder()
to retrieve an instance.
trade
- The trade this responder should respond for.public void sendClientCloseAck(ESPClientCloseAckEvent event) throws com.caplin.trading.TradeException
event
- The event acknowledging that the clients request to close the
trade has been received by the backend.com.caplin.trading.TradeException
- if there was a problem sending the cancelation requestCopyright © 2015 Caplin Systems.