com.apama.md
Event HandlerErrorConstants


Error Constants event for all Subscription Handlers. These provide the possible values for the errorType parameter in the Error Callback of the Subscription Handlers, and the possible keys for the extraParams dictionary.
Since:
CMF 5.1.0

Constant summary
 constant stringCONNECTION_ID_EP_KEY := "CONNECTION_ID"

extraParam constant key value for the Connection Id associated with the error. The value can be parsed to an integer.
 constant integerDUPLICATE_SUBSCRIPTION := 5

errorType constant value for a duplicate subscription.
 constant integerFAILED_TO_CREATE_DATASTREAM_MANAGER := 1

errorType constant value for failure to create the Datastream Manager.
 constant integerFAILED_TO_CREATE_MDM := 0

errorType constant value for failure to create the Market Data Manager.
 constant integerFAILED_TO_SUBSCRIBE := 2

errorType constant value for failure to subscribe.
 constant integerFAILED_TO_UNSUBSCRIBE := 3

errorType constant value for failure to unsubscribe (may be an unknown subscription).
 constant stringMESSAGE_EP_KEY := "MESSAGE"

extraParam constant key value for the Message associated with the error. The value is a string.
 constant stringREF_ID_EP_KEY := "REF_ID"

extraParam constant key value for the Ref Id associated with the error. The value can be parsed to an integer.
 constant integerSESSION_ERROR := 4

errorType constant value for a Session Error from the datasource.
 constant stringSESSION_ID_EP_KEY := "SESSION_ID"

extraParam constant key value for the Session Id associated with the error. The value can be parsed to an integer.
 constant stringSEVERITY_EP_KEY := "SEVERITY"

extraParam constant key value for the Severity (0-FATAL, 1-ERROR (recoverable), 2-WARNING, 3-INFO) associated with the error. The value can be parsed to an integer.
 constant stringSYMBOL_EP_KEY := "SYMBOL"

extraParam constant key value for the Symbol associated with the error. The value is a string.
 constant integerUNKNOWN_ERROR_CALLBACK := 9

errorType constant value for an unknown Error callback.
 constant integerUNKNOWN_SUBSCRIBED_CALLBACK := 7

errorType constant value for an unknown Subscribed callback.
 constant integerUNKNOWN_UNSUBSCRIBED_CALLBACK := 8

errorType constant value for an unknown Unsubscribed callback.
 constant integerUNKNOWN_UPDATE_CALLBACK := 6

errorType constant value for an unknown Update callback.
 
Constant detail

CONNECTION_ID_EP_KEY

constant string CONNECTION_ID_EP_KEY := "CONNECTION_ID"
extraParam constant key value for the Connection Id associated with the error. The value can be parsed to an integer.

DUPLICATE_SUBSCRIPTION

constant integer DUPLICATE_SUBSCRIPTION := 5
errorType constant value for a duplicate subscription.

FAILED_TO_CREATE_DATASTREAM_MANAGER

constant integer FAILED_TO_CREATE_DATASTREAM_MANAGER := 1
errorType constant value for failure to create the Datastream Manager.

FAILED_TO_CREATE_MDM

constant integer FAILED_TO_CREATE_MDM := 0
errorType constant value for failure to create the Market Data Manager.

FAILED_TO_SUBSCRIBE

constant integer FAILED_TO_SUBSCRIBE := 2
errorType constant value for failure to subscribe.

FAILED_TO_UNSUBSCRIBE

constant integer FAILED_TO_UNSUBSCRIBE := 3
errorType constant value for failure to unsubscribe (may be an unknown subscription).

MESSAGE_EP_KEY

constant string MESSAGE_EP_KEY := "MESSAGE"
extraParam constant key value for the Message associated with the error. The value is a string.

REF_ID_EP_KEY

constant string REF_ID_EP_KEY := "REF_ID"
extraParam constant key value for the Ref Id associated with the error. The value can be parsed to an integer.

SESSION_ERROR

constant integer SESSION_ERROR := 4
errorType constant value for a Session Error from the datasource.

SESSION_ID_EP_KEY

constant string SESSION_ID_EP_KEY := "SESSION_ID"
extraParam constant key value for the Session Id associated with the error. The value can be parsed to an integer.

SEVERITY_EP_KEY

constant string SEVERITY_EP_KEY := "SEVERITY"
extraParam constant key value for the Severity (0-FATAL, 1-ERROR (recoverable), 2-WARNING, 3-INFO) associated with the error. The value can be parsed to an integer.

SYMBOL_EP_KEY

constant string SYMBOL_EP_KEY := "SYMBOL"
extraParam constant key value for the Symbol associated with the error. The value is a string.

UNKNOWN_ERROR_CALLBACK

constant integer UNKNOWN_ERROR_CALLBACK := 9
errorType constant value for an unknown Error callback.

UNKNOWN_SUBSCRIBED_CALLBACK

constant integer UNKNOWN_SUBSCRIBED_CALLBACK := 7
errorType constant value for an unknown Subscribed callback.

UNKNOWN_UNSUBSCRIBED_CALLBACK

constant integer UNKNOWN_UNSUBSCRIBED_CALLBACK := 8
errorType constant value for an unknown Unsubscribed callback.

UNKNOWN_UPDATE_CALLBACK

constant integer UNKNOWN_UPDATE_CALLBACK := 6
errorType constant value for an unknown Update callback.