public class QueuedResponder extends FXResponder<PostTradeAllocationList>
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.
Constructor and Description |
---|
QueuedResponder(PostTradeAllocationList trade)
Constructs a Responder that can send messages from the Queued state.
|
Modifier and Type | Method and Description |
---|---|
void |
sendPickUp(AllocationPickUpEvent event)
Sends a message to denote that the deal has been picked up by the trading
system or a manual dealer.
|
sendError, sendReject
public QueuedResponder(PostTradeAllocationList trade)
PostTradeAllocationList.getQueuedResponder()
to retrieve an instancetrade
- The object representing the post allocation trade which the
responder can send messages for.public void sendPickUp(AllocationPickUpEvent event) throws com.caplin.trading.TradeException
event
- The event to send.com.caplin.trading.TradeException
- If there was a problem sending the eventCopyright © 2015 Caplin Systems.