public class WebSocketServer<I extends io.netty.handler.codec.http.websocketx.WebSocketFrame,O extends io.netty.handler.codec.http.websocketx.WebSocketFrame> extends RxServer<I,O>
WebSocketServer delays passing new connection to the application handler
till WebSocket handshake is complete.AbstractServer.ServerStatepipelineConfiguratorbootstrap, connectionFactory, errorHandler, eventsSubject, port, serverStateRef| Constructor and Description |
|---|
WebSocketServer(io.netty.bootstrap.ServerBootstrap bootstrap,
int port,
ConnectionHandler<I,O> connectionHandler) |
WebSocketServer(io.netty.bootstrap.ServerBootstrap bootstrap,
int port,
ConnectionHandler<I,O> connectionHandler,
io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor) |
WebSocketServer(io.netty.bootstrap.ServerBootstrap bootstrap,
int port,
PipelineConfigurator<I,O> pipelineConfigurator,
ConnectionHandler<I,O> connectionHandler) |
WebSocketServer(io.netty.bootstrap.ServerBootstrap bootstrap,
int port,
PipelineConfigurator<I,O> pipelineConfigurator,
ConnectionHandler<I,O> connectionHandler,
io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor) |
getEventsSubject, getServerPort, newChannelInitializer, returnServer, shutdown, start, startAndWait, subscribe, waitTillShutdown, waitTillShutdown, withErrorHandlerpublic WebSocketServer(io.netty.bootstrap.ServerBootstrap bootstrap,
int port,
ConnectionHandler<I,O> connectionHandler)
public WebSocketServer(io.netty.bootstrap.ServerBootstrap bootstrap,
int port,
PipelineConfigurator<I,O> pipelineConfigurator,
ConnectionHandler<I,O> connectionHandler)
public WebSocketServer(io.netty.bootstrap.ServerBootstrap bootstrap,
int port,
ConnectionHandler<I,O> connectionHandler,
io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor)
public WebSocketServer(io.netty.bootstrap.ServerBootstrap bootstrap,
int port,
PipelineConfigurator<I,O> pipelineConfigurator,
ConnectionHandler<I,O> connectionHandler,
io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor)