Interface TradingConnectionRouter

  • public interface TradingConnectionRouter
    Retrieved the connection pool key for a given trade.
    • Method Detail

      • initialise

        void initialise​(TradingConnectionRouter.Context context)
        This notifies the TradingConnectionRouter that it is about to be loaded. This method will be called by the system once.

        You should use this method to perform any initialization before the TradingConnectionRouter is loaded by the system.

      • getConnectionKey

        java.lang.String getConnectionKey​(com.caplin.motif.UserTrade trade)
        Retrieve the connection key from the given trade.