com.apama.firewall
Event QueryConstants


The QueryConstants event object contains a set of constants that define the Query Request and Response types. These constants should be used rather than the specific value in order to ensure future compatibility.
See Also:
com.apama.firewall.QueryRequest - The Query request object that will be sent to the Rule Classes
com.apama.firewall.QueryResponse - The Query response object that will be sent from the Rule Class back to the Risk Firewall

Constant summary
 constant integerQUERY_AMENDORDER := 2

This constant value is used by the QueryRequest object to indicate that the request type is for an Amend Order.
 constant integerQUERY_CANCELORDER := 3

This constant value is used by the QueryRequest object to indicate that the request type is for a Cancel Order.
 constant integerQUERY_NEWORDER := 1

This constant value is used by the QueryRequest object to indicate that the request type is for a New Order.
 constant integerQUERYRESPONSE_FAIL := 2

This constant value is used by the QueryResponse object to indicate a objection/alert from the RuleClass to the QueryRequest.
 constant integerQUERYRESPONSE_OKAY := 0

This constant value is used by the QueryResponse object to indicate an approval from the RuleClass to the QueryRequest.
 constant integerQUERYRESPONSE_WARN := 1

This constant value is used by the QueryResponse object to indicate a warning from the RuleClass to the QueryRequest.
 
Constant detail

QUERY_AMENDORDER

constant integer QUERY_AMENDORDER := 2
This constant value is used by the QueryRequest object to indicate that the request type is for an Amend Order.

QUERY_CANCELORDER

constant integer QUERY_CANCELORDER := 3
This constant value is used by the QueryRequest object to indicate that the request type is for a Cancel Order.

QUERY_NEWORDER

constant integer QUERY_NEWORDER := 1
This constant value is used by the QueryRequest object to indicate that the request type is for a New Order.

QUERYRESPONSE_FAIL

constant integer QUERYRESPONSE_FAIL := 2
This constant value is used by the QueryResponse object to indicate a objection/alert from the RuleClass to the QueryRequest.

QUERYRESPONSE_OKAY

constant integer QUERYRESPONSE_OKAY := 0
This constant value is used by the QueryResponse object to indicate an approval from the RuleClass to the QueryRequest.

QUERYRESPONSE_WARN

constant integer QUERYRESPONSE_WARN := 1
This constant value is used by the QueryResponse object to indicate a warning from the RuleClass to the QueryRequest.