public class ClientCloseSentResponder extends FXResponder<RFSTrade>
Responder used for sending events from the ClientCloseSent state.
RFSTrade.getClientCloseSentResponder()
Constructor and Description |
---|
ClientCloseSentResponder(RFSTrade trade)
Constructs a responder used for sending events from the ClientCloseSent state.
|
Modifier and Type | Method and Description |
---|---|
void |
sendClientCloseAck(RFSClientCloseAckEvent event)
Sends an acknowledgement to the client notifying it that it's request
to close the trade has been received.
|
sendError, sendReject
public ClientCloseSentResponder(RFSTrade trade)
Constructs a responder used for sending events from the ClientCloseSent state.
Please use:
RFSTrade.getClientCloseSentResponder()
to retrieve an instance.
trade
- The trade this responder should respond for.public void sendClientCloseAck(RFSClientCloseAckEvent 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.