Class BlockTradeQueuedResponder
- java.lang.Object
-
- com.caplin.motif.fx.trading.Responder<T>
-
- com.caplin.motif.fx.trading.FXResponder<BlockTrade>
-
- com.caplin.motif.fx.trading.block.responder.BlockTradeExpiredResponder
-
- com.caplin.motif.fx.trading.block.responder.BlockTradeQueuedResponder
-
public class BlockTradeQueuedResponder extends BlockTradeExpiredResponder
A Responder for block trades that can send messages from the Queued state.
- See Also:
BlockTrade.getQueuedResponder()
-
-
Constructor Summary
Constructors Constructor Description BlockTradeQueuedResponder(BlockTrade trade)
Constructs a Responder that can Respond from the Queue state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.caplin.motif.fx.trading.block.responder.BlockTradeExpiredResponder
sendExpired
-
Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
-
-
-
Constructor Detail
-
BlockTradeQueuedResponder
public BlockTradeQueuedResponder(BlockTrade trade)
Constructs a Responder that can Respond from the Queue state.Please use
BlockTrade.getQueuedResponder()
to retrieve this instance.- Parameters:
trade
- The trade this responder will send messages for.
-
-
Method Detail
-
sendPickUp
public void sendPickUp(BlockTradePickUpEvent event) throws com.caplin.trading.TradeException
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.- Parameters:
event
- The event to notify the client the that block trade request is being processed.- Throws:
com.caplin.trading.TradeException
- if there was a problem sending the event
-
-