|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.aiyc.server.standalone.WasStandaloneServer
public class WasStandaloneServer
Basic class of the standalone server
| 嵌套类摘要 | |
|---|---|
class |
WasStandaloneServer.ShutdownHandler
|
| 构造方法摘要 | |
|---|---|
WasStandaloneServer(int port)
creates a new server instance |
|
| 方法摘要 | |
|---|---|
static URLClassLoader |
getCalcClassLoader()
|
static URLClassLoader |
getServiceClassLoader()
|
static void |
initConfig(String[] args)
sets the configuration according to the arguments |
static void |
main(String[] args)
Does start the standalone server |
void |
run()
waits for incoming connection, accepts and passes them to the connection handler |
static void |
startClac()
�ش��㷨���� |
static void |
startServer()
starts the server by creating an instance an run it |
void |
stopServer()
stops the server. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public WasStandaloneServer(int port)
throws IOException
port - Port number
IOException| 方法详细信息 |
|---|
public static void main(String[] args)
args - configurationpublic static void initConfig(String[] args)
args - configurationpublic static URLClassLoader getServiceClassLoader()
public static URLClassLoader getCalcClassLoader()
public static void startClac()
throws Exception
Exceptionpublic static void startServer()
public void run()
Runnable 中的 runpublic void stopServer()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||