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,
TioUuid tioUuid,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
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, TioUuid tioUuid, org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor)
public TioServer getTioServer()
public WsServerConfig getWsServerConfig()
public IWsMsgHandler getWsMsgHandler()
public WsTioServerHandler getWsTioServerHandler()
public WsTioServerListener getWsTioServerListener()
public TioServerConfig getTioServerConfig()
public void start()
throws IOException
IOExceptionCopyright © 2022. All rights reserved.