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 updated Strategy.
        strategyTree - The latest StrategyTree that was used to produce the Strategy.
      • 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.