T
- extends an OrderStrategy
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{ Override public OrderSubmissionListener createOrderSubmissionListener(IfDoneStrategy strategy) { return new MyIfDoneSubmissionListener(); } }
Modifier and Type | Method and Description |
---|---|
OrderSubmissionListener<T> |
createOrderSubmissionListener(T strategy)
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 © 2015 Caplin Systems.