public class WsServerStarter extends Object
| 构造器和说明 |
|---|
WsServerStarter(HttpConfig wsServerConfig,
IWsMsgHandler wsMsgHandler) |
WsServerStarter(HttpConfig wsServerConfig,
IWsMsgHandler wsMsgHandler,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
WsServerStarter(HttpConfig wsServerConfig,
IWsMsgHandler wsMsgHandler,
TioUuid tioUuid,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
WsServerStarter(int port,
IWsMsgHandler wsMsgHandler) |
WsServerStarter(int port,
IWsMsgHandler wsMsgHandler,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
| 限定符和类型 | 方法和说明 |
|---|---|
TioServer |
getTioServer() |
TioServerConfig |
getTioServerConfig() |
IWsMsgHandler |
getWsMsgHandler() |
HttpConfig |
getWsServerConfig() |
WsTioServerHandler |
getWsTioServerHandler() |
WsTioServerListener |
getWsTioServerListener() |
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(HttpConfig wsServerConfig, IWsMsgHandler wsMsgHandler) throws IOException
IOExceptionpublic WsServerStarter(HttpConfig wsServerConfig, IWsMsgHandler wsMsgHandler, org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor) throws IOException
IOExceptionpublic WsServerStarter(HttpConfig wsServerConfig, IWsMsgHandler wsMsgHandler, TioUuid tioUuid, org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor)
public TioServer getTioServer()
public HttpConfig getWsServerConfig()
public IWsMsgHandler getWsMsgHandler()
public WsTioServerHandler getWsTioServerHandler()
public WsTioServerListener getWsTioServerListener()
public TioServerConfig getTioServerConfig()
public void start()
throws IOException
IOExceptionCopyright © 2024. All rights reserved.