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
IOException
public WsServerStarter(int port, IWsMsgHandler wsMsgHandler, SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor) throws IOException
IOException
public WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler) throws IOException
IOException
public WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler, SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor) throws IOException
IOException
public WsServerStarter(WsServerConfig wsServerConfig, IWsMsgHandler wsMsgHandler, TioUuid tioUuid, SynThreadPoolExecutor tioExecutor, ThreadPoolExecutor groupExecutor) throws IOException
IOException
public TioServer getTioServer()
public WsServerConfig getWsServerConfig()
public IWsMsgHandler getWsMsgHandler()
public WsServerAioHandler getWsServerAioHandler()
public WsServerAioListener getWsServerAioListener()
public ServerTioConfig getServerTioConfig()
public void start() throws IOException
IOException
Copyright © 2021. All rights reserved.