| Constructor and Description |
|---|
WsServerStarter(HttpConfig wsServerConfig,
IWsMsgHandler wsMsgHandler) |
WsServerStarter(HttpConfig wsServerConfig,
IWsMsgHandler wsMsgHandler,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
WsServerStarter(IWsMsgHandler wsMsgHandler) |
WsServerStarter(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(String serverIp,
int serverPort) |
boolean |
stop() |
public WsServerStarter(IWsMsgHandler wsMsgHandler)
public WsServerStarter(IWsMsgHandler wsMsgHandler, org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor)
public WsServerStarter(HttpConfig wsServerConfig, IWsMsgHandler wsMsgHandler)
public WsServerStarter(HttpConfig wsServerConfig, IWsMsgHandler wsMsgHandler, org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor)
public TioServer getTioServer()
public TioServerConfig getTioServerConfig()
public HttpConfig getWsServerConfig()
public IWsMsgHandler getWsMsgHandler()
public WsTioServerHandler getWsTioServerHandler()
public WsTioServerListener getWsTioServerListener()
public void start(String serverIp, int serverPort) throws IOException
start in interface IServerIOExceptionCopyright © 2025. All rights reserved.