Server state web service
The ServerStateAPI web service provides information about the PolicyCenter server. Use this web service to check that the server is at the required run level before running other web services.
This class has a single method, getServerState that returns a
ServerStateInfo object. From Gosu, you can access this object as the
read-only ServerState property. This object has the following properties:
- RunLevelCode
- An
intvalue that is the code for the current run level of the server - RunLevelName
- A String value that is the name of the current run level of the server
- RunLevelOrdinal
- An
intvalue that is the ordinal value of the current run level of the server - ServerId
- A String value that is the identifier of the server
- StartupException
- A String value that identifies an exception that occurred at server start up
