public class BlockTradeQueuedResponder extends BlockTradeExpiredResponder
A Responder for block trades that can send messages from the Queued state.
BlockTrade.getQueuedResponder()
Constructor and Description |
---|
BlockTradeQueuedResponder(BlockTrade trade)
Constructs a Responder that can Respond from the Queue state.
|
Modifier and Type | Method and Description |
---|---|
void |
sendPickUp(BlockTradePickUpEvent event)
Sends a message to notify the client that the client's request for
a block trade has been received by the back-end trading system.
|
sendExpired
sendError, sendReject
public BlockTradeQueuedResponder(BlockTrade trade)
BlockTrade.getQueuedResponder()
to retrieve this instance.trade
- The trade this responder will send messages for.public void sendPickUp(BlockTradePickUpEvent event) throws com.caplin.trading.TradeException
event
- The event to notify the client the that block trade
request is being processed.com.caplin.trading.TradeException
- if there was a problem sending the eventCopyright © 2015 Caplin Systems.