ServiceState#

Enumeration ServiceState

The ServiceState describes the current state of a Service. The ServiceState is grouped by the ServiceStateCategory which can be discovered by dividing the State by 1000.

const category : ServiceStateCategory = Math.floor(serviceState / 1000);

Enumeration Members

CREATED: 1000
ERROR: 5000

Indicates a general Error that doesn't match any of the specific ones.

ERROR_ABNORMAL_WS_CLOSE: 5002

Indicates that a WS connection closed abnormally.

ERROR_NO_LICENSE: 5004

Indicates that there was a problem to acquire a license for the Service.

ERROR_REQUEST: 5003

Indicates that there was a problem to request the Service from the backend.

ERROR_SHUTDOWN_TIMEOUT_REACHED: 5001

Indicates that the Service was not responding for a longer time and the automatic shutdown timeout was reached.

READY: 3000

Indicates that the Service is ready to use.

REQUESTED: 2000

Indicates that the Service is requested.

SHUTDOWN: 6000

Indicates that the Service is shutting down

WARNING: 4000

Indicates a general Warning that doesn't match any of the specific ones.

WARNING_HTTP_AND_WS_NOT_RESPONDING: 4003

Indicates that the HTTP and WS connection to the Service is not responding.

WARNING_HTTP_NOT_RESPONDING: 4001

Indicates that the HTTP connection to the Service is not responding.

WARNING_WS_NOT_RESPONDING: 4002

Indicates that the WS connection to the Service is not responding.