Class ChangeStateListener
- java.lang.Object
-
- com.caplin.motif.fx.ret.orders.trading.ChangeStateListener
-
- All Implemented Interfaces:
com.caplin.motif.fx.trading.orders.activestatechange.OrderChangeActiveStateListener
,com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
public class ChangeStateListener extends java.lang.Object implements com.caplin.motif.fx.trading.orders.activestatechange.OrderChangeActiveStateListener, com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
-
-
Constructor Summary
Constructors Constructor Description ChangeStateListener(OrderAdapterInitialiser adapterServices, com.caplin.motif.fx.trading.orders.activestatechange.ChangeActiveState changeActiveState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectionAvailable(com.caplin.ret.trapi.connection.OrderTradingConnection connection)
void
connectionRegistrationFailed(java.lang.String reason)
void
onTradeClosed()
void
orderCancelWaitReceived(com.caplin.motif.fx.trading.orders.activestatechange.ChangeActiveState activeState)
void
orderChangeActiveStateReceived(com.caplin.motif.fx.trading.orders.activestatechange.ChangeActiveState changeActiveState)
-
-
-
Constructor Detail
-
ChangeStateListener
public ChangeStateListener(OrderAdapterInitialiser adapterServices, com.caplin.motif.fx.trading.orders.activestatechange.ChangeActiveState changeActiveState)
-
-
Method Detail
-
orderChangeActiveStateReceived
public void orderChangeActiveStateReceived(com.caplin.motif.fx.trading.orders.activestatechange.ChangeActiveState changeActiveState)
- Specified by:
orderChangeActiveStateReceived
in interfacecom.caplin.motif.fx.trading.orders.activestatechange.OrderChangeActiveStateListener
-
onTradeClosed
public void onTradeClosed()
- Specified by:
onTradeClosed
in interfacecom.caplin.motif.fx.trading.orders.activestatechange.OrderChangeActiveStateListener
-
orderCancelWaitReceived
public void orderCancelWaitReceived(com.caplin.motif.fx.trading.orders.activestatechange.ChangeActiveState activeState)
- Specified by:
orderCancelWaitReceived
in interfacecom.caplin.motif.fx.trading.orders.activestatechange.OrderChangeActiveStateListener
-
connectionAvailable
public void connectionAvailable(com.caplin.ret.trapi.connection.OrderTradingConnection connection)
- Specified by:
connectionAvailable
in interfacecom.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
-
connectionRegistrationFailed
public void connectionRegistrationFailed(java.lang.String reason)
- Specified by:
connectionRegistrationFailed
in interfacecom.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
-
-