com.apama.oms
Event ExchangeEngineExtensionFactory



Action summary
 com.apama.oms.ExchangeEngineExtensionInterfacecreateInterface()

This action is called by the User to create a Exchange Engine Extension Interface that can be used to override the default behaviour of the Exchange engine.
 stringdefaultHandleAmendOrder(com.apama.oms.AmendOrder amendOrder)

This is the default action that is called by the Exchange Engine when amending orders. Users should override this action if they want to perform any extra functionality while amending orders.
 stringdefaultHandleCancelOrder(com.apama.oms.CancelOrder cancelOrder)

This is the default action that is called by the Exchange Engine when cancelling orders. Users should override this action if they want to perform any extra functionality while cancelling orders.
 stringdefaultHandleNewOrder(com.apama.oms.NewOrder newOrder)

This is the default action that is called by the Exchange Engine to validate a new order. Users should override this action if they want to perform any extra checks while validation new orders.
 booleandefaultOrderMatchValidity(com.apama.oms.OrderReceiverStateContainer originalOrder, com.apama.oms.OrderReceiverStateContainer orderToCompare)

This is the default action that is called by the Exchange Engine when it matches orders for validity.
 
Action detail

createInterface

            com.apama.oms.ExchangeEngineExtensionInterface createInterface()
        
This action is called by the User to create a Exchange Engine Extension Interface that can be used to override the default behaviour of the Exchange engine.
Returns:
An interface to a new ExchangeEngineExtensionInterface object
See Also:
com.apama.oms.ExchangeEngineExtensionInterface - The Interface object that this function creates

defaultHandleAmendOrder

            string defaultHandleAmendOrder(com.apama.oms.AmendOrder amendOrder)
        
This is the default action that is called by the Exchange Engine when amending orders. Users should override this action if they want to perform any extra functionality while amending orders.
Parameters:
amendOrder - The amend order
Returns:
The result

defaultHandleCancelOrder

            string defaultHandleCancelOrder(com.apama.oms.CancelOrder cancelOrder)
        
This is the default action that is called by the Exchange Engine when cancelling orders. Users should override this action if they want to perform any extra functionality while cancelling orders.
Parameters:
cancelOrder - The cancel order
Returns:
The result

defaultHandleNewOrder

            string defaultHandleNewOrder(com.apama.oms.NewOrder newOrder)
        
This is the default action that is called by the Exchange Engine to validate a new order. Users should override this action if they want to perform any extra checks while validation new orders.
Parameters:
newOrder - The new order
Returns:
The result

defaultOrderMatchValidity

            boolean defaultOrderMatchValidity(com.apama.oms.OrderReceiverStateContainer originalOrder, com.apama.oms.OrderReceiverStateContainer orderToCompare)
        
This is the default action that is called by the Exchange Engine when it matches orders for validity.
Parameters:
originalOrder - The original order
orderToCompare - The order to compare
Returns:
true if the event should be processed further, false otherwise