github.com/qlik-oss/gopherciser@v0.18.6/globals/constant/topics.go (about)

     1  package constant
     2  
     3  // Topics for session pushed messages
     4  const (
     5  	EventTopicOnAuthenticationInformation          = "OnAuthenticationInformation"
     6  	EventTopicOnConnected                          = "OnConnected"
     7  	EventTopicOnMaxParallelSessionsExceeded        = "OnMaxParallelSessionsExceeded"
     8  	EventTopicOnLicenseAccessDenied                = "OnLicenseAccessDenied"
     9  	EventTopicOnLicenseAccessDeniedPendingUserSync = "OnLicenseAccessDeniedPendingUserSync"
    10  	EventTopicOnSessionClosed                      = "OnSessionClosed"
    11  	EventTopicOnSessionLoggedOut                   = "OnSessionLoggedOut"
    12  	EventTopicOnSessionTimedOut                    = "OnSessionTimedOut"
    13  	EventTopicOnEngineWebsocketFailed              = "OnEngineWebsocketFailed"
    14  	EventTopicOnNoEngineAvailable                  = "OnNoEngineAvailable"
    15  	EventTopicOnRepositoryWebsocketFailed          = "OnRepositoryWebsocketFailed"
    16  	EventTopicOnNoRepositoryAvailable              = "OnNoRepositoryAvailable"
    17  	EventTopicOnDataPrepServiceWebsocketFailed     = "OnDataPrepServiceWebsocketFailed"
    18  	EventTopicOnNoDataPrepServiceAvailable         = "OnNoDataPrepServiceAvailable"
    19  	EventTopicOnNoPrintingServiceAvailable         = "OnNoPrintingServiceAvailable"
    20  	EventTopicOnExcessLicenseAssignment            = "OnExcessLicenseAssignment"
    21  )
    22  
    23  // EventTopicOnConnected possible states
    24  const (
    25  	OnConnectedSessionSessionParseFailed = "SessionStateParseFailed" // Not actually sent by engine but set when parsing of message failed
    26  
    27  	OnConnectedSessionCreated                    = "SESSION_CREATED"
    28  	OnConnectedSessionAttached                   = "SESSION_ATTACHED"
    29  	OnConnectedSessionErrorNoLicense             = "SESSION_ERROR_NO_LICENSE"
    30  	OnConnectedSessionErrorLicenseReNew          = "SESSION_ERROR_LICENSE_RENEW"
    31  	OnConnectedSessionErrorLimitExceeded         = "SESSION_ERROR_LIMIT_EXCEEDED"
    32  	OnConnectedSessionErrorSecurityHeaderChanged = "SESSION_ERROR_SECURITY_HEADER_CHANGED"
    33  	OnConnectedSessionAccessControlSetupFailure  = "SESSION_ACCESS_CONTROL_SETUP_FAILURE"
    34  	OnConnectedSessionErrorAppAccessDenied       = "SESSION_ERROR_APP_ACCESS_DENIED"
    35  	OnConnectedSessionErrorAppFailure            = "SESSION_ERROR_APP_FAILURE"
    36  )