com.aiyc.server.standalone
类 WasStandaloneServer

java.lang.Object
  继承者 com.aiyc.server.standalone.WasStandaloneServer
所有已实现的接口:
Runnable

public class WasStandaloneServer
extends Object
implements Runnable

Basic class of the standalone server

作者:
felly

嵌套类摘要
 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
 

构造方法详细信息

WasStandaloneServer

public WasStandaloneServer(int port)
                    throws IOException
creates a new server instance

参数:
port - Port number
抛出:
IOException
方法详细信息

main

public static void main(String[] args)
Does start the standalone server

参数:
args - configuration

initConfig

public static void initConfig(String[] args)
sets the configuration according to the arguments

参数:
args - configuration

getServiceClassLoader

public static URLClassLoader getServiceClassLoader()

getCalcClassLoader

public static URLClassLoader getCalcClassLoader()

startClac

public static void startClac()
                      throws Exception
�ش��㷨����

抛出:
Exception

startServer

public static void startServer()
starts the server by creating an instance an run it


run

public void run()
waits for incoming connection, accepts and passes them to the connection handler

指定者:
接口 Runnable 中的 run

stopServer

public void stopServer()
stops the server.



Copyright © 2017. All Rights Reserved.