public class RemoteControl extends Object
| Modifier and Type | Field and Description |
|---|---|
static BooleanProperty |
PROP_REMOTECONTROL_ENABLED
If the remote control feature is enabled or disabled.
|
(package private) static int |
protocolMajorVersion
RemoteControl HTTP protocol version.
|
(package private) static int |
protocolMinorVersion |
| Constructor and Description |
|---|
RemoteControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestHandler(String command,
Class<? extends RequestHandler> handlerClass)
Adds external request handler.
|
static void |
start()
Starts the remote control server
|
static void |
stop()
Stops the remote control server
|
public static final BooleanProperty PROP_REMOTECONTROL_ENABLED
static final int protocolMajorVersion
static final int protocolMinorVersion
public RemoteControl()
public static void start()
public static void stop()
public void addRequestHandler(String command, Class<? extends RequestHandler> handlerClass)
command - The command name.handlerClass - The additional request handler.