public class WsServerStarter extends Object
| Constructor and Description |
|---|
WsServerStarter(int port,
IWsMsgHandler wsMsgHandler) |
WsServerStarter(int port,
IWsMsgHandler wsMsgHandler,
SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
WsServerStarter(WsServerConfig wsServerConfig,
IWsMsgHandler wsMsgHandler) |
WsServerStarter(WsServerConfig wsServerConfig,
IWsMsgHandler wsMsgHandler,
SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
WsServerStarter(WsServerConfig wsServerConfig,
IWsMsgHandler wsMsgHandler,
TioUuid tioUuid,
SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor) |
| Modifier and Type | Method and Description |
|---|---|
ServerTioConfig |
getServerTioConfig() |
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,
SynThreadPoolExecutor tioExecutor,
ThreadPoolExecutor groupExecutor)
throws IOException
IOExceptionpublic WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler) throws IOException
IOExceptionpublic WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler, SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor) throws IOException
IOExceptionpublic WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler, TioUuid tioUuid, SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor) throws IOException
IOExceptionpublic TioServer getTioServer()
public WsServerConfig getWsServerConfig()
public IWsMsgHandler getWsMsgHandler()
public WsServerAioHandler getWsServerAioHandler()
public WsServerAioListener getWsServerAioListener()
public ServerTioConfig getServerTioConfig()
public void start()
throws IOException
IOExceptionCopyright © 2021. All rights reserved.