com.apama.firewall
Event CombinedQueryResponse


The CombinedQueryResponse event object is generated from the cumulation of all the QueryResponses from all RuleClass implementations by the Risk Firewall.

If the user has defined any callbacks to be called on the query responses, this object will be passed back to the user as part of that callback. This object contains the original type for the request, the overall type of the response, and a sequence of all warning or failure responses that were gathered.
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

Member Summary
 integerrequestType

The type of this response (e.g. New, Amend or Cancel order request).
 stringorderId

The order id of this response.
 integercombinedResponse

The overall type of the response (e.g. Approved, warning, or objection).
 sequence<com.apama.firewall.QueryResponse >responses

A sequence containing all the warning and failure responses from all the Rule Classes.
 
Action Summary
 stringgetFirstFailureMessage()

This action returns the message associated with the first response that was returned that was of a failure type.
 
Member Detail

combinedResponse

integer combinedResponse
The overall type of the response (e.g. Approved, warning, or objection).

orderId

string orderId
The order id of this response.

requestType

integer requestType
The type of this response (e.g. New, Amend or Cancel order request).

responses

sequence<com.apama.firewall.QueryResponse > responses
A sequence containing all the warning and failure responses from all the Rule Classes.
Action Detail

getFirstFailureMessage

string getFirstFailureMessage()
This action returns the message associated with the first response that was returned that was of a failure type.
Returns:
The message that was associated with the first failure response