Class QueuedResponder
java.lang.Object
com.caplin.motif.fx.trading.Responder<T>
com.caplin.motif.fx.trading.FXResponder<PostTradeAllocationList>
com.caplin.motif.fx.trading.allocation.responder.QueuedResponder
Deprecated.
A Responder to respond from within the QueuedState.
Note that generally an allocation will transition directly through a Queued state without any message from the trading system. If the backend supports Dealer Intervention for Allocations, then this state represents waiting for a dealer to pickup this deal. This allows the client to attempt to cancel the deal if he does not wish to wait for a dealer.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Constructs a Responder that can send messages from the Queued state. -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendPickUp
(AllocationPickUpEvent event) Deprecated.Sends a message to denote that the deal has been picked up by the trading system or a manual dealer.Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
Constructor Details
-
QueuedResponder
Deprecated.Constructs a Responder that can send messages from the Queued state.Please use:
PostTradeAllocationList.getQueuedResponder()
to retrieve an instance- Parameters:
trade
- The object representing the post allocation trade which the responder can send messages for.
-
-
Method Details
-
sendPickUp
Deprecated.Sends a message to denote that the deal has been picked up by the trading system or a manual dealer.- Parameters:
event
- The event to send.- Throws:
com.caplin.trading.TradeException
- If there was a problem sending the event
-