com.apama.session
Event HandlerErrorConstants


Error Constants event for the Session Handler. 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 integerCONNECTION_FAILED := 0

errorType constant value for failure to connect to the Session.
 constant integerDISCONNECTION_FAILED := 1

errorType constant value for failure to disconnect the Session.
 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 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 integerUNKNOWN_CONNECTED_CALLBACK := 2

errorType constant value for an unknown Connected callback.
 constant integerUNKNOWN_ERROR_CALLBACK := 3

errorType constant value for an unknown Error callback.
 
Constant detail

CONNECTION_FAILED

constant integer CONNECTION_FAILED := 0
errorType constant value for failure to connect to the Session.

DISCONNECTION_FAILED

constant integer DISCONNECTION_FAILED := 1
errorType constant value for failure to disconnect the Session.

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_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.

UNKNOWN_CONNECTED_CALLBACK

constant integer UNKNOWN_CONNECTED_CALLBACK := 2
errorType constant value for an unknown Connected callback.

UNKNOWN_ERROR_CALLBACK

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