public class EditOpenSentResponder extends BaseErrorResponder<EditStrategyRequest>
A Responder for the Edit Strategy, that can send message from the EditOpenSent state.
Constructor and Description |
---|
EditOpenSentResponder(EditStrategyRequest request)
Constructs a Responder that can respond from the EditOpenSent state
for the EditStrategy trade model.
|
Modifier and Type | Method and Description |
---|---|
void |
sendEditOpenAck(EditOpenAckEvent event)
Sends the ack to notify the client that the request to open a strategy for
edit has been received
|
sendError
public EditOpenSentResponder(EditStrategyRequest request)
Constructs a Responder that can respond from the EditOpenSent state for the EditStrategy trade model.
Please use EditStrategyRequest.getEditOpenSentResponder()
to retrieve an instance.
request
- The object representing the trade for the edit strategy request,
which this responder can send messages for.public void sendEditOpenAck(EditOpenAckEvent event) throws com.caplin.trading.TradeException
Sends the ack to notify the client that the request to open a strategy for edit has been received
event
- the acknowledgement event to send to the clientcom.caplin.trading.TradeException
- If there was a problem sending the eventCopyright © 2015 Caplin Systems.