Interface OrderCancelationListenerFactory


@Deprecated public interface OrderCancelationListenerFactory
Deprecated.

An OrderCancelationListenerFactory instance is responsible for providing a OrderCancelationListener whenever a Limit Order that already exists has been canceled from the client.

Typically the client will have already submitted an order which they now want to deactivate.

Example Usage:

 public class MyOrderCancelationListenerFactory implements OrderCancelationListenerFactory
 {
    Override
          public OrderCancelationListener createOrderCancelationListener(CancelRequest request)
      {
                 return new MyOrderCancelationListener();
      }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns an instance of OrderCancelationListener that will be notified of incoming client side events regarding orders that already exist being canceled.
  • Method Details

    • createOrderCancelationListener

      OrderCancelationListener createOrderCancelationListener(CancelRequest request)
      Deprecated.
      Returns an instance of OrderCancelationListener that will be notified of incoming client side events regarding orders that already exist being canceled.
      Parameters:
      request - The object representing the parameters of the request the client initiated to cancel the order.
      Returns:
      The listener that will be called upon to handle client events