Package jmri.server.json.power
The JMRI JSON protocol power server.
Replies to any request handled by this server include the following
properties in the JSON data object:
- name
- The user name of the connection supplying power.
- state
- One of
JSON.UNKNOWN
,JSON.ON
, orJSON.OFF
- default
- True if this message represents the power state for the default power connection; false otherwise.
-
Class Summary Class Description Bundle JsonPowerHttpService JsonPowerServiceFactory JsonPowerSocketService