Interface StrategyDetailsListener
-
- All Known Implementing Classes:
EditOrderListener
,UserStrategyDetailsListener
public interface StrategyDetailsListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(java.lang.String error)
Signals an error on the subscription.void
onUpdate(com.caplin.motif.fx.trading.orders.details.Strategy strategy, com.caplin.ret.trapi.fx.order.strategy.StrategyTree strategyTree)
Sends a strategy update to the subscription.
-
-
-
Method Detail
-
onUpdate
void onUpdate(com.caplin.motif.fx.trading.orders.details.Strategy strategy, com.caplin.ret.trapi.fx.order.strategy.StrategyTree strategyTree)
Sends a strategy update to the subscription.- Parameters:
strategy
- The updatedStrategy
.strategyTree
- The latestStrategyTree
that was used to produce theStrategy
.
-
onError
void onError(java.lang.String error)
Signals an error on the subscription.
Errors do NOT signal that the subscription has ended. Subscribers should still remove their listeners.- Parameters:
error
- The reason for the error.
-
-