public class WsServerStarter extends Object
| 构造器和说明 |
|---|
WsServerStarter(int port,
IWsMsgHandler wsMsgHandler) |
WsServerStarter(int port,
IWsMsgHandler wsMsgHandler,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
WsServerStarter(WsServerConfig wsServerConfig,
IWsMsgHandler wsMsgHandler) |
WsServerStarter(WsServerConfig wsServerConfig,
IWsMsgHandler wsMsgHandler,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
WsServerStarter(WsServerConfig wsServerConfig,
IWsMsgHandler wsMsgHandler,
org.tio.core.intf.TioUuid tioUuid,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.tio.server.ServerGroupContext |
getServerGroupContext() |
IWsMsgHandler |
getWsMsgHandler() |
WsServerAioHandler |
getWsServerAioHandler() |
WsServerAioListener |
getWsServerAioListener() |
WsServerConfig |
getWsServerConfig() |
void |
start() |
public WsServerStarter(int port,
IWsMsgHandler wsMsgHandler)
throws IOException
IOExceptionpublic WsServerStarter(int port,
IWsMsgHandler wsMsgHandler,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor)
throws IOException
IOExceptionpublic WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler) throws IOException
IOExceptionpublic WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler, org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor) throws IOException
IOExceptionpublic WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler, org.tio.core.intf.TioUuid tioUuid, org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor) throws IOException
IOExceptionpublic WsServerConfig getWsServerConfig()
public IWsMsgHandler getWsMsgHandler()
public WsServerAioHandler getWsServerAioHandler()
public WsServerAioListener getWsServerAioListener()
public org.tio.server.ServerGroupContext getServerGroupContext()
public void start()
throws IOException
IOExceptionCopyright © 2018. All rights reserved.