public class BlockTradePickedUpResponder extends BlockTradeQuoteResponder
A Responder for block trades that can to send messages from the PickedUp state.
BlockTrade.getPickedUpResponder()
Constructor and Description |
---|
BlockTradePickedUpResponder(BlockTrade trade)
Constructs a Responder that can respond from the PickedUp state
for the BlockTrade trade model.
|
Modifier and Type | Method and Description |
---|---|
void |
sendTradeHeld(BlockTradeHeldEvent event)
Sends a message to notify the client that the trade has been held by an
auto trade or manual dealer.
|
sendPriceUpdate, sendPriceUpdate, sendPriceUpdate
sendError, sendReject
public BlockTradePickedUpResponder(BlockTrade trade)
BlockTrade.getPickedUpResponder()
to retrieve this instance.trade
- The trade this responder will send messages for.public void sendTradeHeld(BlockTradeHeldEvent event) throws com.caplin.trading.TradeException
event
- The event to send to the client.com.caplin.trading.TradeException
- if there was a problem sending the eventCopyright © 2015 Caplin Systems.