Interface OrderSubmissionListenerFactory<T extends OrderStrategy>
- Type Parameters:
T
- extends anOrderStrategy
Deprecated.
An OrderSubmissionListenerFactory instance is responsible for
providing an OrderSubmissionListener
whenever a Limit Order has
been initiated from the client, of that specified OrderStrategy
Example Usage:
public class MyIfDoneOrderListenerFactory implements OrderSubmissionListenerFactory<IfDoneStrategy> { Override public OrderSubmissionListener<IfDoneStrategy> createOrderSubmissionListener(IfDoneStrategy strategy) { return new MyIfDoneSubmissionListener(); } }
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrderSubmissionListener
(T strategy) Deprecated.Returns an instance of OrderSubmissionListener for the specified OrderStrategy that will be notified of incoming client side events.
-
Method Details
-
createOrderSubmissionListener
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.
-