Class BlockTradeExpiredResponder
- 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
-
- Direct Known Subclasses:
BlockTradeExecutedResponder
,BlockTradeQueuedResponder
public class BlockTradeExpiredResponder extends FXResponder<BlockTrade>
Base class for Responders that send the Expired message
-
-
Constructor Summary
Constructors Constructor Description BlockTradeExpiredResponder(BlockTrade trade)
Constructs a Responder that can respond from states the send the Expired Message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sendExpired(BlockTradeExpiredEvent event)
Sends a message to notify the client that that the trade has expired.-
Methods inherited from class com.caplin.motif.fx.trading.FXResponder
sendError, sendReject
-
-
-
-
Constructor Detail
-
BlockTradeExpiredResponder
public BlockTradeExpiredResponder(BlockTrade trade)
Constructs a Responder that can respond from states the send the Expired Message- Parameters:
trade
- The trade this responder will send messages for
-
-
Method Detail
-
sendExpired
public void sendExpired(BlockTradeExpiredEvent event) throws com.caplin.trading.TradeException
Sends a message to notify the client that that the trade has expired.- Parameters:
event
- The event denoting that the trade has expired- Throws:
com.caplin.trading.TradeException
- if there was a problem sending the event
-
-