T
- extends an OrderStrategy
@Deprecated public interface OrderSubmissionListenerFactory<T extends OrderStrategy>
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(); } }
Modifier and Type | Method and 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.
|
OrderSubmissionListener<T> createOrderSubmissionListener(T strategy)
strategy
- The OrderStrategy that was just initiatedCopyright © 2020 Caplin Systems.