|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.io.remotecontrol.RemoteControl
public class RemoteControl
Manager class for remote control operations. IMPORTANT! increment the minor version on compatible API extensions and increment the major version and set minor to 0 on incompatible changes.
Field Summary | |
---|---|
static BooleanProperty |
PROP_REMOTECONTROL_ENABLED
If the remote cotrol feature is enabled or disabled. |
(package private) static int |
protocolMajorVersion
RemoteControl HTTP protocol version. |
(package private) static int |
protocolMinorVersion
|
Constructor Summary | |
---|---|
RemoteControl()
|
Method Summary | |
---|---|
void |
addRequestHandler(java.lang.String command,
java.lang.Class<? extends RequestHandler> handlerClass)
Adds external request handler. |
static void |
start()
Starts the remote control server |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BooleanProperty PROP_REMOTECONTROL_ENABLED
static final int protocolMajorVersion
static final int protocolMinorVersion
Constructor Detail |
---|
public RemoteControl()
Method Detail |
---|
public static void start()
public void addRequestHandler(java.lang.String command, java.lang.Class<? extends RequestHandler> handlerClass)
command
- The command name.handlerClass
- The additional request handler.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |