Class JSON
- java.lang.Object
-
- jmri.server.json.JSON
-
public final class JSON extends java.lang.Object
Common and utility constants used in the JMRI JSON protocol.Note any documented use of a constant is not the exclusive or sole use of the constant. Review the JSON schemas for all uses of any given constant.
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVE
2static java.lang.String
ACTIVE_PROFILE
"activeProfile"static java.lang.String
ADD
"add"static java.lang.String
ADD_AND_REMOVE
"addAndRemove"static java.lang.String
ADD_COMMENT
"addComment"static java.lang.String
ADD_HELPERS
"addHelpers"static java.lang.String
ADDRESS
"address"static int
ALLOCATED
16static java.lang.String
APPEARANCE
"appearance"static java.lang.String
APPEARANCE_NAME
"appearanceName"static java.lang.String
ARRIVAL_TIME
"arrivalTime"static java.lang.String
ASPECT
"aspect"static java.lang.String
ASPECT_DARK
"Dark"static java.lang.String
ASPECT_HELD
"Held"static java.lang.String
ASPECT_UNKNOWN
"Unknown"static java.lang.String
AUDIO_COMMAND
"command"static java.lang.String
AUDIO_COMMAND_NONE
"None"static java.lang.String
AUDIO_COMMAND_PLAY
"Play"static java.lang.String
AUDIO_COMMAND_PLAY_NUM_LOOPS
"playNumLoops"static java.lang.String
AUDIO_COMMAND_STOP
"Stop"static java.lang.String
AUDIO_ICON_IDENTITY
"identity"static int
AUDIO_PLAYING
17static int
AUDIO_STOPPED
16static java.lang.String
CHANGE_CABOOSE
"changeCaboose"static java.lang.String
CHANGE_ENGINES
"changeEngines"static java.lang.String
CLIENT
"client"static int
CLOSED
2static java.lang.String
COLOR
"color"static java.lang.String
COMMENT
"comment"static java.lang.String
CONFIG_PROFILE
"configProfile"static java.lang.String
CONFIG_PROFILES
"configProfiles"static java.lang.String
CONFLICT
"conflict"static java.lang.String
CONTROL_PANEL
"Control Panel"static java.lang.String
DATA
"data"static java.lang.String
DECODER_FAMILY
"decoderFamily"static java.lang.String
DECODER_MODEL
"decoderModel"static java.lang.String
DEFAULT
"default"static java.lang.String
DELETE
"delete"static java.lang.String
DEPARTURE_LOCATION
"trainDepartsName"static java.lang.String
DEPARTURE_TIME
"departureTime"static java.lang.String
DESCRIPTION
"description"static java.lang.String
DIRECTION
"direction"static java.lang.String
DIVISION
"division"static java.lang.String
EMPTIES
"empties"static java.lang.String
ENGINES
"engines"static java.lang.String
EXPECTED_ARRIVAL
"expectedArrivalTime"static java.lang.String
EXPECTED_DEPARTURE
"expectedDepartureTime"static java.lang.String
F
Prefix for the throttle function keys (F0-F28).static java.lang.String
FINAL_DESTINATION
"finalDestination"static int
FLASHGREEN
32static int
FLASHLUNAR
128static int
FLASHRED
2static int
FLASHYELLOW
8static java.lang.String
FORCE_DELETE
"forceDelete"static java.lang.String
FORMAT
"format"static java.lang.String
FORMER_NODES
"formerNodes"static java.lang.String
FORWARD
"forward"static java.lang.String
FUNCTION_KEYS
"functionKeys"static java.lang.String
GET
"get"static java.lang.String
GOODBYE
"goodbye"static int
GREEN
16static java.lang.String
GROUP
"group"static java.lang.String
HAZARDOUS
"hazardous"static java.lang.String
HEARTBEAT
"heartbeat"static java.lang.String
HELLO
"hello"static java.lang.String
HP
"hp"static java.lang.String
ICON
"icon"static java.lang.String
ICON_NAME
"iconName"static java.lang.String
ID
"id"static java.lang.String
IMAGE
"image"static int
INACTIVE
4static int
INCONSISTENT
8static java.lang.String
INTEGER
"int"static java.lang.String
INVERTED
"inverted"static java.lang.String
IS_ACTIVE_PROFILE
"isActiveProfile"static java.lang.String
IS_AUTO_START
"isAutoStart"static java.lang.String
IS_LOCAL
"isLocal"static java.lang.String
IS_LONG_ADDRESS
"isLongAddress"static java.lang.String
IS_NEXT_PROFILE
"isNextProfile"static java.lang.String
JMRI
"JMRI"static java.lang.String
JSON
"json"static java.lang.String
JSON_PROTOCOL_VERSION
JMRI JSON protocol version.static java.lang.String
KERNEL
"kernel"static java.lang.String
LABEL
"label"static java.lang.String
LAYOUT_PANEL
"Layout"static java.lang.String
LENGTH
"length"static java.lang.String
LIST
"list"static java.lang.String
LIT
"lit"static java.lang.String
LOAD
"load"static java.lang.String
LOADS
"loads"static java.lang.String
LOCALE
"locale"static java.lang.String
LOCKABLE
"lockable"static int
LUNAR
64static java.lang.String
MAX_SPD_PCT
"maxSpeedPct"static java.lang.String
METADATA
"metadata"static java.lang.String
METHOD
"method"static java.lang.String
MFG
"mfg"static java.lang.String
MODE
"mode"static java.lang.String
MODEL
"model"static java.lang.String
NAME
"name"static java.lang.String
NETWORK_SERVICE
"networkService"static java.lang.String
NETWORK_SERVICES
"networkServices"static java.lang.String
NODE
"node"static java.lang.String
NODE_CV
"CV"static java.lang.String
NUMBER
"number"static int
OFF
4static int
ON
2static java.lang.String
OP
"mode"static java.lang.String
OPTIONS
"options"static int
OUT_OF_SERVICE
48static java.lang.String
OWNER
"owner"static java.lang.String
PANEL
"panel"static java.lang.String
PANEL_PANEL
"Panel"static java.lang.String
PANELS
"panels"static java.lang.String
PING
"ping"static java.lang.String
PONG
"pong"static java.lang.String
PORT
"port"static java.lang.String
POSITION
"position"static java.lang.String
POST
"post"static java.lang.String
PREFIX
"prefix"static java.lang.String
PROGRAMMER
"programmer"static java.lang.String
PROPERTIES
"properties"static java.lang.String
PUT
"put"static java.lang.String
RAILROAD
"railroad"static java.lang.String
RATE
"rate"static java.lang.String
READ
"read"static int
RED
1static java.lang.String
REMOVE
"remove"static java.lang.String
REMOVE_COMMENT
"removeComment"static java.lang.String
REMOVE_HELPERS
"removeHelpers"static java.lang.String
RENAME
"rename"static java.lang.String
RETURN_WHEN_EMPTY
"returnWhenEmpty"static java.lang.String
RETURN_WHEN_LOADED
"returnWhenLoaded"static java.lang.String
RFID
"rfid"static java.lang.String
ROAD
"road"static java.lang.String
ROUTE
"route"static java.lang.String
ROUTE_ID
"routeId"static java.lang.String
ROUTES
"routes"static int
RUNNING
32static java.lang.String
SCHEMA
"schema"static java.lang.String
SELECTED_ICON
"selectedIcon"static java.lang.String
SEQUENCE
"sequenceId"static java.lang.String
SERVER
"server"static java.lang.String
SHUNTING_FUNCTION
"shuntingFunction"static java.lang.String
SIZE_LIMIT
"sizeLimit"static java.lang.String
SPEED
"speed"static java.lang.String
STATE
"state"static int
STATE_DARK
0static int
STATE_HELD
256static java.lang.String
STATUS
"status"static java.lang.String
STATUS_CODE
Numeric status valuestatic java.lang.String
SWITCHBOARD_PANEL
"Switchboard"static java.lang.String
SYSTEM_CONNECTION
"systemConnection"static java.lang.String
SYSTEM_CONNECTIONS
"systemConnections"static java.lang.String
TERMINATES_LOCATION
"trainTerminatesName"static java.lang.String
THROTTLE
"throttle"static int
THROWN
4static java.lang.String
TIME
"time"static int
TOGGLE
8static java.lang.String
TOKEN_HELD
"held"static java.lang.String
TOTAL
"total"static int
TRACK_ERROR
64static java.lang.String
TRAIN_DIRECTION
"trainDirection"static java.lang.String
TYPE
"type"static java.lang.String
UNIQUE_ID
"uniqueId"static java.lang.String
UNIT
"unit"static int
UNKNOWN
0static java.lang.String
URL
"URL"static java.lang.String
USERNAME
"userName"static java.lang.String
UTILITY
"utility"static java.lang.String
V5
JSON protocol version for requesting version 5.x.y protocol.static java.lang.String
V5_PROTOCOL_VERSION
JMRI JSON protocol version 5 complete version.static java.lang.String
VALUE
"value"static java.lang.String
VERSION
"version"static java.util.List<java.lang.String>
VERSIONS
List of supported versions, as used in the HTTP URL paths.static java.lang.String
WHENLASTSEEN
"whenLastSeen"static java.lang.String
WHERELASTSEEN
"whereLastSeen"static java.lang.String
WRITE
"write"static java.lang.String
XML
"xml"static int
YELLOW
4static java.lang.String
ZEROCONF_SERVICE_TYPE
"_jmri-json._tcp.local." Not used within the protocol, but used to support discovery of servers supporting the protocol.
-
-
-
Field Detail
-
V5
public static final java.lang.String V5
JSON protocol version for requesting version 5.x.y protocol. "v5"- See Also:
- Constant Field Values
-
VERSIONS
public static final java.util.List<java.lang.String> VERSIONS
List of supported versions, as used in the HTTP URL paths.Note: this being a List<String> is not stable API and is subject to change without notice.
-
V5_PROTOCOL_VERSION
public static final java.lang.String V5_PROTOCOL_VERSION
JMRI JSON protocol version 5 complete version. Seejmri.server.json
for the version history. Starting with 5.0.0, this is a semantic version string; prior to that, it is just an X.Y version string.- See Also:
- Constant Field Values
-
JSON_PROTOCOL_VERSION
public static final java.lang.String JSON_PROTOCOL_VERSION
JMRI JSON protocol version. Seejmri.server.json
for the version history. Starting with 5.0.0, this is a semantic version string; prior to that, it is just an X.Y version string.- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
"version"- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
"type"- See Also:
- Constant Field Values
-
LIST
public static final java.lang.String LIST
"list"- See Also:
- Constant Field Values
-
DATA
public static final java.lang.String DATA
"data"- See Also:
- Constant Field Values
-
PING
public static final java.lang.String PING
"ping"- See Also:
- Constant Field Values
-
PONG
public static final java.lang.String PONG
"pong"- See Also:
- Constant Field Values
-
GOODBYE
public static final java.lang.String GOODBYE
"goodbye"- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
"name"- See Also:
- Constant Field Values
-
METHOD
public static final java.lang.String METHOD
"method"- See Also:
- Constant Field Values
-
DELETE
public static final java.lang.String DELETE
"delete"- See Also:
- Constant Field Values
-
GET
public static final java.lang.String GET
"get"- See Also:
- Constant Field Values
-
POST
public static final java.lang.String POST
"post"- See Also:
- Constant Field Values
-
PUT
public static final java.lang.String PUT
"put"- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
"comment"- See Also:
- Constant Field Values
-
USERNAME
public static final java.lang.String USERNAME
"userName"- See Also:
- Constant Field Values
-
STATE
public static final java.lang.String STATE
"state"- See Also:
- Constant Field Values
-
VALUE
public static final java.lang.String VALUE
"value"- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
"id"- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
"status"- See Also:
- Constant Field Values
-
STATUS_CODE
public static final java.lang.String STATUS_CODE
Numeric status value"statusCode"
- See Also:
- Constant Field Values
-
PROPERTIES
public static final java.lang.String PROPERTIES
"properties"- See Also:
- Constant Field Values
-
DEFAULT
public static final java.lang.String DEFAULT
"default"- See Also:
- Constant Field Values
-
SPEED
public static final java.lang.String SPEED
"speed"- See Also:
- Constant Field Values
-
DIRECTION
public static final java.lang.String DIRECTION
"direction"- See Also:
- Constant Field Values
-
HELLO
public static final java.lang.String HELLO
"hello"- See Also:
- Constant Field Values
-
JMRI
public static final java.lang.String JMRI
"JMRI"- See Also:
- Constant Field Values
-
HEARTBEAT
public static final java.lang.String HEARTBEAT
"heartbeat"- See Also:
- Constant Field Values
-
RAILROAD
public static final java.lang.String RAILROAD
"railroad"- See Also:
- Constant Field Values
-
NODE
public static final java.lang.String NODE
"node"- Since:
- 1.1
- See Also:
- Constant Field Values
-
ACTIVE_PROFILE
public static final java.lang.String ACTIVE_PROFILE
"activeProfile"- Since:
- 3.0
- See Also:
- Constant Field Values
-
FORMER_NODES
public static final java.lang.String FORMER_NODES
"formerNodes"- Since:
- 1.1
- See Also:
- Constant Field Values
-
LOCALE
public static final java.lang.String LOCALE
"locale"- Since:
- 1.1
- See Also:
- Constant Field Values
-
ENGINES
public static final java.lang.String ENGINES
"engines"- See Also:
- Constant Field Values
-
METADATA
public static final java.lang.String METADATA
"metadata"- See Also:
- Constant Field Values
-
PANELS
public static final java.lang.String PANELS
"panels"- See Also:
- Constant Field Values
-
ROUTES
public static final java.lang.String ROUTES
"routes"- See Also:
- Constant Field Values
-
NETWORK_SERVICES
public static final java.lang.String NETWORK_SERVICES
"networkServices"- See Also:
- Constant Field Values
-
CONFIG_PROFILES
public static final java.lang.String CONFIG_PROFILES
"configProfiles"- See Also:
- Constant Field Values
-
CONFIG_PROFILE
public static final java.lang.String CONFIG_PROFILE
"configProfile"- See Also:
- Constant Field Values
-
UNIQUE_ID
public static final java.lang.String UNIQUE_ID
"uniqueId"- See Also:
- Constant Field Values
-
IS_ACTIVE_PROFILE
public static final java.lang.String IS_ACTIVE_PROFILE
"isActiveProfile"- See Also:
- Constant Field Values
-
IS_AUTO_START
public static final java.lang.String IS_AUTO_START
"isAutoStart"- See Also:
- Constant Field Values
-
IS_NEXT_PROFILE
public static final java.lang.String IS_NEXT_PROFILE
"isNextProfile"- See Also:
- Constant Field Values
-
NETWORK_SERVICE
public static final java.lang.String NETWORK_SERVICE
"networkService"- Since:
- 2.0
- See Also:
- Constant Field Values
-
PANEL
public static final java.lang.String PANEL
"panel"- See Also:
- Constant Field Values
-
PROGRAMMER
public static final java.lang.String PROGRAMMER
"programmer"- See Also:
- Constant Field Values
-
ROUTE
public static final java.lang.String ROUTE
"route"- See Also:
- Constant Field Values
-
THROTTLE
public static final java.lang.String THROTTLE
"throttle"- See Also:
- Constant Field Values
-
ICON_NAME
public static final java.lang.String ICON_NAME
"iconName"- See Also:
- Constant Field Values
-
LENGTH
public static final java.lang.String LENGTH
"length"- See Also:
- Constant Field Values
-
CONTROL_PANEL
public static final java.lang.String CONTROL_PANEL
"Control Panel"- See Also:
- Constant Field Values
-
LAYOUT_PANEL
public static final java.lang.String LAYOUT_PANEL
"Layout"- See Also:
- Constant Field Values
-
SWITCHBOARD_PANEL
public static final java.lang.String SWITCHBOARD_PANEL
"Switchboard"- See Also:
- Constant Field Values
-
PANEL_PANEL
public static final java.lang.String PANEL_PANEL
"Panel"- See Also:
- Constant Field Values
-
URL
public static final java.lang.String URL
"URL"- See Also:
- Constant Field Values
-
FORMAT
public static final java.lang.String FORMAT
"format"- See Also:
- Constant Field Values
-
JSON
public static final java.lang.String JSON
"json"- See Also:
- Constant Field Values
-
XML
public static final java.lang.String XML
"xml"- See Also:
- Constant Field Values
-
MODE
public static final java.lang.String MODE
"mode"- See Also:
- Constant Field Values
-
NODE_CV
public static final java.lang.String NODE_CV
"CV"- See Also:
- Constant Field Values
-
OP
public static final java.lang.String OP
"mode"- See Also:
- Constant Field Values
-
READ
public static final java.lang.String READ
"read"- See Also:
- Constant Field Values
-
WRITE
public static final java.lang.String WRITE
"write"- See Also:
- Constant Field Values
-
COLOR
public static final java.lang.String COLOR
"color"- See Also:
- Constant Field Values
-
LOAD
public static final java.lang.String LOAD
"load"- See Also:
- Constant Field Values
-
MODEL
public static final java.lang.String MODEL
"model"- See Also:
- Constant Field Values
-
HP
public static final java.lang.String HP
"hp"- See Also:
- Constant Field Values
-
ROAD
public static final java.lang.String ROAD
"road"- See Also:
- Constant Field Values
-
NUMBER
public static final java.lang.String NUMBER
"number"- See Also:
- Constant Field Values
-
IS_LONG_ADDRESS
public static final java.lang.String IS_LONG_ADDRESS
"isLongAddress"- See Also:
- Constant Field Values
-
MFG
public static final java.lang.String MFG
"mfg"- See Also:
- Constant Field Values
-
DECODER_MODEL
public static final java.lang.String DECODER_MODEL
"decoderModel"- See Also:
- Constant Field Values
-
DECODER_FAMILY
public static final java.lang.String DECODER_FAMILY
"decoderFamily"- See Also:
- Constant Field Values
-
MAX_SPD_PCT
public static final java.lang.String MAX_SPD_PCT
"maxSpeedPct"- See Also:
- Constant Field Values
-
FUNCTION_KEYS
public static final java.lang.String FUNCTION_KEYS
"functionKeys"- See Also:
- Constant Field Values
-
IMAGE
public static final java.lang.String IMAGE
"image"- Since:
- 2.0
- See Also:
- Constant Field Values
-
ICON
public static final java.lang.String ICON
"icon"- Since:
- 2.0
- See Also:
- Constant Field Values
-
SELECTED_ICON
public static final java.lang.String SELECTED_ICON
"selectedIcon"- Since:
- 2.0
- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
"label"- See Also:
- Constant Field Values
-
LOCKABLE
public static final java.lang.String LOCKABLE
"lockable"- See Also:
- Constant Field Values
-
GROUP
public static final java.lang.String GROUP
"group"- See Also:
- Constant Field Values
-
OWNER
public static final java.lang.String OWNER
"owner"- Since:
- 1.1
- See Also:
- Constant Field Values
-
SHUNTING_FUNCTION
public static final java.lang.String SHUNTING_FUNCTION
"shuntingFunction"- Since:
- 2.0
- See Also:
- Constant Field Values
-
TRAIN_DIRECTION
public static final java.lang.String TRAIN_DIRECTION
"trainDirection"- See Also:
- Constant Field Values
-
SEQUENCE
public static final java.lang.String SEQUENCE
"sequenceId"- See Also:
- Constant Field Values
-
ARRIVAL_TIME
public static final java.lang.String ARRIVAL_TIME
"arrivalTime"- Since:
- 1.1
- See Also:
- Constant Field Values
-
EXPECTED_ARRIVAL
public static final java.lang.String EXPECTED_ARRIVAL
"expectedArrivalTime"- See Also:
- Constant Field Values
-
EXPECTED_DEPARTURE
public static final java.lang.String EXPECTED_DEPARTURE
"expectedDepartureTime"- See Also:
- Constant Field Values
-
DEPARTURE_TIME
public static final java.lang.String DEPARTURE_TIME
"departureTime"- See Also:
- Constant Field Values
-
DEPARTURE_LOCATION
public static final java.lang.String DEPARTURE_LOCATION
"trainDepartsName"- See Also:
- Constant Field Values
-
TERMINATES_LOCATION
public static final java.lang.String TERMINATES_LOCATION
"trainTerminatesName"- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
"description"- See Also:
- Constant Field Values
-
ROUTE_ID
public static final java.lang.String ROUTE_ID
"routeId"- See Also:
- Constant Field Values
-
HAZARDOUS
public static final java.lang.String HAZARDOUS
"hazardous"- Since:
- 1.1
- See Also:
- Constant Field Values
-
KERNEL
public static final java.lang.String KERNEL
"kernel"- Since:
- 1.1
- See Also:
- Constant Field Values
-
FINAL_DESTINATION
public static final java.lang.String FINAL_DESTINATION
"finalDestination"- Since:
- 1.1
- See Also:
- Constant Field Values
-
REMOVE_COMMENT
public static final java.lang.String REMOVE_COMMENT
"removeComment"- Since:
- 1.1
- See Also:
- Constant Field Values
-
ADD_COMMENT
public static final java.lang.String ADD_COMMENT
"addComment"- Since:
- 1.1
- See Also:
- Constant Field Values
-
IS_LOCAL
public static final java.lang.String IS_LOCAL
"isLocal"- Since:
- 1.1
- See Also:
- Constant Field Values
-
ADD_HELPERS
public static final java.lang.String ADD_HELPERS
"addHelpers"- Since:
- 1.1
- See Also:
- Constant Field Values
-
CHANGE_CABOOSE
public static final java.lang.String CHANGE_CABOOSE
"changeCaboose"- Since:
- 1.1
- See Also:
- Constant Field Values
-
CHANGE_ENGINES
public static final java.lang.String CHANGE_ENGINES
"changeEngines"- Since:
- 1.1
- See Also:
- Constant Field Values
-
REMOVE_HELPERS
public static final java.lang.String REMOVE_HELPERS
"removeHelpers"- Since:
- 1.1
- See Also:
- Constant Field Values
-
OPTIONS
public static final java.lang.String OPTIONS
"options"- Since:
- 1.1
- See Also:
- Constant Field Values
-
ADD
public static final java.lang.String ADD
"add"As an attribute of a
JsonRoster.ROSTER
, this is an entry that has been added to the roster.- Since:
- 1.1
- See Also:
- Constant Field Values
-
REMOVE
public static final java.lang.String REMOVE
"remove"In operations, this indicates the dropping or setting out of a car or engine.
As an attribute of a
JsonRoster.ROSTER
, this is an entry that has been removed from the roster.- Since:
- 1.1
- See Also:
- Constant Field Values
-
ADD_AND_REMOVE
public static final java.lang.String ADD_AND_REMOVE
"addAndRemove"- Since:
- 1.1
- See Also:
- Constant Field Values
-
TOTAL
public static final java.lang.String TOTAL
"total"- Since:
- 1.1
- See Also:
- Constant Field Values
-
LOADS
public static final java.lang.String LOADS
"loads"- Since:
- 1.1
- See Also:
- Constant Field Values
-
EMPTIES
public static final java.lang.String EMPTIES
"empties"- Since:
- 1.1
- See Also:
- Constant Field Values
-
RETURN_WHEN_EMPTY
public static final java.lang.String RETURN_WHEN_EMPTY
"returnWhenEmpty"- Since:
- 1.1
- See Also:
- Constant Field Values
-
RETURN_WHEN_LOADED
public static final java.lang.String RETURN_WHEN_LOADED
"returnWhenLoaded"- Since:
- 5.4.0
- See Also:
- Constant Field Values
-
DIVISION
public static final java.lang.String DIVISION
"division"- Since:
- 5.4.0
- See Also:
- Constant Field Values
-
UTILITY
public static final java.lang.String UTILITY
"utility"- Since:
- 1.1
- See Also:
- Constant Field Values
-
APPEARANCE
public static final java.lang.String APPEARANCE
"appearance"- See Also:
- Constant Field Values
-
APPEARANCE_NAME
public static final java.lang.String APPEARANCE_NAME
"appearanceName"- See Also:
- Constant Field Values
-
ASPECT
public static final java.lang.String ASPECT
"aspect"- See Also:
- Constant Field Values
-
ASPECT_DARK
public static final java.lang.String ASPECT_DARK
"Dark"- See Also:
- Constant Field Values
-
ASPECT_HELD
public static final java.lang.String ASPECT_HELD
"Held"- See Also:
- Constant Field Values
-
ASPECT_UNKNOWN
public static final java.lang.String ASPECT_UNKNOWN
"Unknown"- See Also:
- Constant Field Values
-
TOKEN_HELD
public static final java.lang.String TOKEN_HELD
"held"- See Also:
- Constant Field Values
-
LIT
public static final java.lang.String LIT
"lit"- See Also:
- Constant Field Values
-
ADDRESS
public static final java.lang.String ADDRESS
"address"- See Also:
- Constant Field Values
-
FORWARD
public static final java.lang.String FORWARD
"forward"- See Also:
- Constant Field Values
-
F
public static final java.lang.String F
Prefix for the throttle function keys (F0-F28)."F"
- See Also:
- Constant Field Values
-
INVERTED
public static final java.lang.String INVERTED
"inverted"- See Also:
- Constant Field Values
-
INTEGER
public static final java.lang.String INTEGER
"int"- See Also:
- Constant Field Values
-
PORT
public static final java.lang.String PORT
"port"- See Also:
- Constant Field Values
-
POSITION
public static final java.lang.String POSITION
"position"- See Also:
- Constant Field Values
-
SIZE_LIMIT
public static final java.lang.String SIZE_LIMIT
"sizeLimit"- See Also:
- Constant Field Values
-
RATE
public static final java.lang.String RATE
"rate"- See Also:
- Constant Field Values
-
AUDIO_ICON_IDENTITY
public static final java.lang.String AUDIO_ICON_IDENTITY
"identity"- See Also:
- Constant Field Values
-
AUDIO_COMMAND
public static final java.lang.String AUDIO_COMMAND
"command"- See Also:
- Constant Field Values
-
AUDIO_COMMAND_NONE
public static final java.lang.String AUDIO_COMMAND_NONE
"None"- See Also:
- Constant Field Values
-
AUDIO_COMMAND_PLAY
public static final java.lang.String AUDIO_COMMAND_PLAY
"Play"- See Also:
- Constant Field Values
-
AUDIO_COMMAND_PLAY_NUM_LOOPS
public static final java.lang.String AUDIO_COMMAND_PLAY_NUM_LOOPS
"playNumLoops"- See Also:
- Constant Field Values
-
AUDIO_COMMAND_STOP
public static final java.lang.String AUDIO_COMMAND_STOP
"Stop"- See Also:
- Constant Field Values
-
UNKNOWN
public static final int UNKNOWN
0Note that this value deliberately differs from
NamedBean.UNKNOWN
so that JSON clients can treat all known states as true, and the unknown state as false.- See Also:
- Constant Field Values
-
ON
public static final int ON
2- See Also:
- Constant Field Values
-
OFF
public static final int OFF
4- See Also:
- Constant Field Values
-
INCONSISTENT
public static final int INCONSISTENT
8- See Also:
- Constant Field Values
-
AUDIO_PLAYING
public static final int AUDIO_PLAYING
17- See Also:
- Constant Field Values
-
AUDIO_STOPPED
public static final int AUDIO_STOPPED
16- See Also:
- Constant Field Values
-
TOGGLE
public static final int TOGGLE
8- See Also:
- Constant Field Values
-
ACTIVE
public static final int ACTIVE
2- See Also:
- Constant Field Values
-
INACTIVE
public static final int INACTIVE
4- See Also:
- Constant Field Values
-
STATE_DARK
public static final int STATE_DARK
0- See Also:
- Constant Field Values
-
RED
public static final int RED
1- See Also:
- Constant Field Values
-
FLASHRED
public static final int FLASHRED
2- See Also:
- Constant Field Values
-
YELLOW
public static final int YELLOW
4- See Also:
- Constant Field Values
-
FLASHYELLOW
public static final int FLASHYELLOW
8- See Also:
- Constant Field Values
-
GREEN
public static final int GREEN
16- See Also:
- Constant Field Values
-
FLASHGREEN
public static final int FLASHGREEN
32- See Also:
- Constant Field Values
-
LUNAR
public static final int LUNAR
64- See Also:
- Constant Field Values
-
FLASHLUNAR
public static final int FLASHLUNAR
128- See Also:
- Constant Field Values
-
STATE_HELD
public static final int STATE_HELD
256- See Also:
- Constant Field Values
-
CLOSED
public static final int CLOSED
2- See Also:
- Constant Field Values
-
THROWN
public static final int THROWN
4- See Also:
- Constant Field Values
-
ALLOCATED
public static final int ALLOCATED
16- See Also:
- Constant Field Values
-
RUNNING
public static final int RUNNING
32- See Also:
- Constant Field Values
-
OUT_OF_SERVICE
public static final int OUT_OF_SERVICE
48- See Also:
- Constant Field Values
-
TRACK_ERROR
public static final int TRACK_ERROR
64- See Also:
- Constant Field Values
-
UNIT
public static final java.lang.String UNIT
"unit"- Since:
- 1.1
- See Also:
- Constant Field Values
-
PREFIX
public static final java.lang.String PREFIX
"prefix"- Since:
- 2.0
- See Also:
- Constant Field Values
-
SYSTEM_CONNECTION
public static final java.lang.String SYSTEM_CONNECTION
"systemConnection"- Since:
- 2.0
- See Also:
- Constant Field Values
-
SYSTEM_CONNECTIONS
public static final java.lang.String SYSTEM_CONNECTIONS
"systemConnections"- Since:
- 2.0
- See Also:
- Constant Field Values
-
SCHEMA
public static final java.lang.String SCHEMA
"schema"- Since:
- 4.1
- See Also:
- Constant Field Values
-
SERVER
public static final java.lang.String SERVER
"server"- Since:
- 4.1
- See Also:
- Constant Field Values
-
CLIENT
public static final java.lang.String CLIENT
"client"- Since:
- 4.1
- See Also:
- Constant Field Values
-
FORCE_DELETE
public static final java.lang.String FORCE_DELETE
"forceDelete"- Since:
- 5.0.0
- See Also:
- Constant Field Values
-
CONFLICT
public static final java.lang.String CONFLICT
"conflict"- Since:
- 5.0.0
- See Also:
- Constant Field Values
-
RENAME
public static final java.lang.String RENAME
"rename"In a message from a client, carries the new name for the object in the message; note that some services may bar changing the name of an object, while other services will change the name based on other values. In a message from the server, carries the old name for a recently renamed object in the message.
- Since:
- 5.0.0
- See Also:
- Constant Field Values
-
RFID
public static final java.lang.String RFID
"rfid"- Since:
- 5.0.0
- See Also:
- Constant Field Values
-
WHERELASTSEEN
public static final java.lang.String WHERELASTSEEN
"whereLastSeen"- Since:
- 5.7.6
- See Also:
- Constant Field Values
-
WHENLASTSEEN
public static final java.lang.String WHENLASTSEEN
"whenLastSeen"- Since:
- 5.7.6
- See Also:
- Constant Field Values
-
TIME
public static final java.lang.String TIME
"time"- Since:
- 5.0.0
- See Also:
- Constant Field Values
-
ZEROCONF_SERVICE_TYPE
public static final java.lang.String ZEROCONF_SERVICE_TYPE
"_jmri-json._tcp.local." Not used within the protocol, but used to support discovery of servers supporting the protocol.- See Also:
- Constant Field Values
-
-