Class FXTradeLifetimeEventHandler<T extends com.caplin.motif.UserTrade>
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.submission.FXTradeLifetimeEventHandler<T>
-
- All Implemented Interfaces:
com.caplin.motif.datasource.CloseableTradeListener
,com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.MarketOrderConnection>
,com.caplin.ret.trapi.fx.execution.MarketOrderListener
,com.caplin.trading.TradeListener
- Direct Known Subclasses:
AbstractRFSLifetimeEventHandler
,ESPLifetimeEventHandler
public abstract class FXTradeLifetimeEventHandler<T extends com.caplin.motif.UserTrade> extends java.lang.Object implements com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.MarketOrderConnection>, com.caplin.motif.datasource.CloseableTradeListener, com.caplin.ret.trapi.fx.execution.MarketOrderListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
abstract com.caplin.ret.trapi.fx.execution.MarketOrder
getTrapiTrade()
void
onDealLogged(com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
void
tradeClosed(com.caplin.trading.Trade closeTrade)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.caplin.ret.trapi.connection.pool.ConnectionPoolListener
connectionAvailable, connectionRegistrationFailed
-
-
-
-
Method Detail
-
getTrapiTrade
public abstract com.caplin.ret.trapi.fx.execution.MarketOrder getTrapiTrade()
-
tradeClosed
public void tradeClosed(com.caplin.trading.Trade closeTrade)
- Specified by:
tradeClosed
in interfacecom.caplin.motif.datasource.CloseableTradeListener
-
close
public void close()
-
onDealLogged
public void onDealLogged(com.caplin.ret.trapi.fx.execution.QuoteEvent quote)
- Specified by:
onDealLogged
in interfacecom.caplin.ret.trapi.fx.execution.MarketOrderListener
-
-