pyuaf.util.serverstates
¶
This module defines the server states.
Attributes:
-
serverstates.
Running
= 0¶ The server is running normally.
-
serverstates.
Failed
= 1¶ The server is in a failed state.
-
serverstates.
NoConfiguration
= 2¶ The server is running but has no configuration.
-
serverstates.
Suspended
= 3¶ The server is suspended.
-
serverstates.
Shutdown
= 4¶ The server is shutdown.
-
serverstates.
Test
= 5¶ The server is in a test state.
-
serverstates.
CommunicationFault
= 6¶ The server is having trouble to access its data sources due to a communication fault.
-
serverstates.
Unknown
= 7¶ The underlying servers state is unknown.
-
Functions:
-
pyuaf.util.serverstates.
toString
(state)¶ Get a string representation of the server state
Parameters: state ( int
) – The state, e.g.pyuaf.util.serverstates.Running
.Returns: The name of the state, e.g. “Running”. Return type: str
-