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.ServerTioConfig |
getServerTioConfig() |
org.tio.server.TioServer |
getTioServer() |
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 org.tio.server.TioServer getTioServer()
public WsServerConfig getWsServerConfig()
public IWsMsgHandler getWsMsgHandler()
public WsServerAioHandler getWsServerAioHandler()
public WsServerAioListener getWsServerAioListener()
public org.tio.server.ServerTioConfig getServerTioConfig()
public void start()
throws IOException
IOExceptionCopyright © 2021. All rights reserved.