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
A Responder for block trades that can send messages from the Queued state.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructs a Responder that can Respond from the Queue state. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
BlockTradeQueuedResponder
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 Details
-
sendPickUp
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
-