Class SubmittedResponder
- java.lang.Object
-
- com.caplin.motif.fx.trading.Responder<T>
-
- com.caplin.motif.fx.trading.FXResponder<PostTradeAllocationList>
-
- com.caplin.motif.fx.trading.allocation.responder.SubmittedResponder
-
public class SubmittedResponder extends FXResponder<PostTradeAllocationList>
A Responder to respond from within the Submitted state.
-
-
Constructor Summary
Constructors Constructor Description SubmittedResponder(PostTradeAllocationList trade)
Sends a message to acknowledge that the submission has been received.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sendSubmitAck(AllocationSubmitAckEvent event)
Sends a message to acknowledge that the submission has been received.-
Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
-
-
-
Constructor Detail
-
SubmittedResponder
public SubmittedResponder(PostTradeAllocationList trade)
Sends a message to acknowledge that the submission has been received.Please use:
PostTradeAllocationList.getSubmittedResponder()
to retrieve an instance- Parameters:
trade
- The object representing the post allocation trade which the responder can send messages for.
-
-
Method Detail
-
sendSubmitAck
public void sendSubmitAck(AllocationSubmitAckEvent event) throws com.caplin.trading.TradeException
Sends a message to acknowledge that the submission has been received.- Parameters:
event
- The event to send.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-
-