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
Base class for Responders that send the Expired message
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a Responder that can respond from states the send the Expired Message -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
BlockTradeExpiredResponder
Constructs a Responder that can respond from states the send the Expired Message- Parameters:
trade
- The trade this responder will send messages for
-
-
Method Details
-
sendExpired
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
-