public class WsServerStarter extends Object
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2025. All rights reserved.