Interface OrderChangeActiveStateListenerFactory


  • @Deprecated
    public interface OrderChangeActiveStateListenerFactory
    Deprecated.

    An OrderChangeActiveStateListenerFactory instance is responsible for providing a OrderChangeActiveStateListener whenever a Limit Order that already exists has been activated from the client.

    Typically the client will have already submitted an order which has been deactivated and wants to reactivate it.

    Example Usage:

     public class MyOrderChangeActiveStateListenerFactory implements OrderChangeActiveStateListenerFactory
     {
        Override
        public OrderChangeActiveStateListener createChangeActiveStateListener(ChangeActiveState changeActiveState)
          {
                     return new MyOrderChangeActiveStateListener() ;
          }
     };
     
    • Method Detail

      • createChangeActiveStateListener

        OrderChangeActiveStateListener createChangeActiveStateListener​(ChangeActiveState changeActiveState)
        Deprecated.

        Returns an instance of OrderChangeActiveStateListener that will be notified of incoming client side events regarding orders being changed to the active state.

        Parameters:
        changeActiveState -

        The object representing the parameters of the request the client initiated to change to the order to the active state.

        Returns:
        The listener that will be called upon to handle client events