public class Server
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
REMOTE_ENV_DESIGNER |
构造器和说明 |
---|
Server() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy() |
java.lang.String |
getHost() |
int |
getPort() |
java.lang.String |
getServerInfo() |
void |
init(java.lang.String host,
int port,
int serverTimeout,
LogLevel logLevel,
java.lang.String allCss) |
void |
injectAllCss(java.lang.String host,
int port) |
void |
registerExe(java.lang.String exe,
java.lang.String script,
java.lang.String injectJSName) |
java.lang.String |
request(java.lang.String params) |
void |
setHost(java.lang.String host) |
void |
setPort(int port) |
void |
start() |
public static final java.lang.String REMOTE_ENV_DESIGNER
public int getPort()
public void setPort(int port)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public void init(java.lang.String host, int port, int serverTimeout, LogLevel logLevel, java.lang.String allCss)
public java.lang.String getServerInfo()
public void registerExe(java.lang.String exe, java.lang.String script, java.lang.String injectJSName)
public void start() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public void destroy()
public void injectAllCss(java.lang.String host, int port)
public java.lang.String request(java.lang.String params)