public class JcsegServer extends Object
| Constructor and Description |
|---|
JcsegServer(ServerConfig config)
construct method
|
| Modifier and Type | Method and Description |
|---|---|
JcsegServer |
initFromGlobalConfig(JSONObject globalConfig)
load configuration.
|
static void |
main(String[] args) |
JcsegServer |
registerHandler()
register handler service
|
void |
start()
start the server
|
void |
stop()
stop the server
|
public JcsegServer(ServerConfig config)
config - public JcsegServer registerHandler()
public JcsegServer initFromGlobalConfig(JSONObject globalConfig) throws CloneNotSupportedException, JcsegException
globalConfig - CloneNotSupportedExceptionJcsegExceptionpublic static void main(String[] args)
Copyright © 2016. All Rights Reserved.