com.apama.firewall.rules
Event ReservationEnforcerRiskFirewallRule
The Reservation Enforcer rule class ensures that orders placed against reservation contracts are not violated. This rule class implementation tracks both the reservation orders, and the orders that are submitted against it.
Reservation requests and changes to these reservations are implemented as order operations (i.e. com.apama.oms.New/Amend/CancelOrder requests). Any changes to the size of the reservation are sent as order updates.
This rule class implementation requires access to the Risk Firewall that it was registered with, in order to utilise the Order Receiver interface to both monitor reservation orders that are approved by the rest of the Risk Firewall rule classes, and to send order updates to the reservation order state back through the Risk Firewall.
-
Since:
- CMF 5.1.0
-
Version:
- 10.7
activeOrderIdsToReservationIds
dictionary<string, string> activeOrderIdsToReservationIds
create
com.apama.firewall.RuleClass create(com.apama.firewall.RiskFirewall rfwIface)
This action creates a fully populated Rule Class Interface to the Reservation Enforcer Rule ready to be registered with a Risk Firewall.
-
Parameters:
-
rfwIface - The Risk Firewall that this Rule Class is being registered with.
-
Returns:
- A fully populated Rule Class Interface.
-
See Also:
-
com.apama.firewall.RiskFirewall#registerRuleClass - The action to call on the Risk Firewall to register this RuleClass object