Class PendingAllocationResponder
java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<PostTradeAllocationList>
com.caplin.motif.fx.trading.allocation.responder.PendingAllocationResponder
Deprecated.
A Responder to respond from within the PendingAllocation state.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a Responder that can send messages from the PendingAllocation state -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Sends an allocation confirmation to denote that the allocation was successful.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
PendingAllocationResponder
Deprecated.Constructs a Responder that can send messages from the PendingAllocation statePlease use:
PostTradeAllocationList.getPendingAllocationResponder()
to retrieve an instance- Parameters:
trade
- The object representing the post allocation trade which the responder can send messages for.
-
-
Method Details
-
sendAllocationConfirmation
public void sendAllocationConfirmation(AllocationConfirmationEvent event) throws com.caplin.trading.TradeException Deprecated.Sends an allocation confirmation to denote that the allocation was successful.- Parameters:
event
- The event to send.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-