com.teraspaces.qwfix.ordermanager
Interface FIXOrderManagerListener


public interface FIXOrderManagerListener

The listener interface for receiving FIXOrderManager events. The class that is interested in processing a FIXOrderManager event implements this interface, and the object created with that class is registered with a component using the component's addFIXOrderManagerListener method. When the FIXOrderManager event occurs, that object's appropriate method is invoked.

See Also:
FIXOrderManager.addListener(FIXOrderManagerListener), FIXOrderManager.removeListener(FIXOrderManagerListener)

Method Summary
 void sessionOrderListCreated(FIXSessionOrderList orderList)
          Invoked when a new FIXSessionOrderList is created.
 

Method Detail

sessionOrderListCreated

void sessionOrderListCreated(FIXSessionOrderList orderList)
Invoked when a new FIXSessionOrderList is created.

If the FIXSessionOrderManagerSettings.uniqueIDForMultipleDaySessions() of a specific session is set, the sessionOrderListCreated is only triggered when the first instance of FIXSessionPersistence is created; otherwise sessionOrderListCreated will be triggered every time a new FIXSessionPersistence of the session is created.

Note FIXSessionOrderManagerSettings.uniqueIDForMultipleDaySessions() indicates whether or not the application guarantees the uniqueness of identifiers such as ClOrdID, CrossID, ListID, OrderID or ExecID etc. For a specific FIXSession, a new instance of FIXSessionPersistence is created for ever intraday session (because a FIXSession can be up and running for more than one day depends on the scheduler settings of the hosting FIXEngine). So if the uniqueness of identifiers is guaranteed, there will be no ID conflicts, one FIXSessionOrderList per session is enough; otherwise a separate FIXSessionOrderList has to be created for every persistence in the session.

Parameters:
orderList - the order list