Interface OrderSubmissionListenerFactory<T extends OrderStrategy>
-
- Type Parameters:
T
- extends anOrderStrategy
@Deprecated public interface OrderSubmissionListenerFactory<T extends OrderStrategy>
Deprecated.An OrderSubmissionListenerFactory instance is responsible for providing an
OrderSubmissionListener
whenever a Limit Order has been initiated from the client, of that specifiedOrderStrategy
Example Usage:
public class MyIfDoneOrderListenerFactory implements OrderSubmissionListenerFactory<IfDoneStrategy> { Override public OrderSubmissionListener<IfDoneStrategy> createOrderSubmissionListener(IfDoneStrategy strategy) { return new MyIfDoneSubmissionListener(); } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description OrderSubmissionListener<T>
createOrderSubmissionListener(T strategy)
Deprecated.Returns an instance of OrderSubmissionListener for the specified OrderStrategy that will be notified of incoming client side events.
-
-
-
Method Detail
-
createOrderSubmissionListener
OrderSubmissionListener<T> createOrderSubmissionListener(T strategy)
Deprecated.Returns an instance of OrderSubmissionListener for the specified OrderStrategy that will be notified of incoming client side events.- Parameters:
strategy
- The OrderStrategy that was just initiated- Returns:
- The listener that will be called upon to handle client events.
-
-