public class PhantomServerFactory
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
NO_SERVICE |
构造器和说明 |
---|
PhantomServerFactory() |
限定符和类型 | 方法和说明 |
---|---|
void |
addServer(Server server) |
void |
cleanServerLog() |
void |
destroyServer() |
static java.lang.String |
fetchJS(java.util.Locale locale) |
boolean |
hasServer() |
boolean |
hasValidServer() |
void |
init(ServerBaseInfo serverBaseInfo) |
static void |
releasePort(java.lang.String serverInfo) |
java.lang.String |
requestServer(java.lang.String params) |
int |
serverNumber() |
void |
startServer() |
public static final java.lang.String NO_SERVICE
public static java.lang.String fetchJS(java.util.Locale locale)
public void init(ServerBaseInfo serverBaseInfo)
public void startServer()
public boolean hasServer()
public boolean hasValidServer()
public int serverNumber()
public void destroyServer()
public java.lang.String requestServer(java.lang.String params) throws java.lang.InterruptedException
java.lang.InterruptedException
public void cleanServerLog()
public void addServer(Server server)
public static void releasePort(java.lang.String serverInfo)