public class UdpServer<I,O> extends AbstractServer<I,O,io.netty.bootstrap.Bootstrap,io.netty.channel.Channel,UdpServer<I,O>>
AbstractServer.ServerState
bootstrap, connectionFactory, errorHandler, eventsSubject, port, serverStateRef
Constructor and Description |
---|
UdpServer(io.netty.bootstrap.Bootstrap bootstrap,
int port,
ConnectionHandler<I,O> connectionHandler) |
UdpServer(io.netty.bootstrap.Bootstrap bootstrap,
int port,
ConnectionHandler<I,O> connectionHandler,
io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor) |
UdpServer(io.netty.bootstrap.Bootstrap bootstrap,
int port,
PipelineConfigurator<I,O> pipelineConfigurator,
ConnectionHandler<I,O> connectionHandler) |
UdpServer(io.netty.bootstrap.Bootstrap 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, withErrorHandler
public UdpServer(io.netty.bootstrap.Bootstrap bootstrap, int port, ConnectionHandler<I,O> connectionHandler)
public UdpServer(io.netty.bootstrap.Bootstrap bootstrap, int port, ConnectionHandler<I,O> connectionHandler, io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor)
public UdpServer(io.netty.bootstrap.Bootstrap bootstrap, int port, PipelineConfigurator<I,O> pipelineConfigurator, ConnectionHandler<I,O> connectionHandler)
public UdpServer(io.netty.bootstrap.Bootstrap bootstrap, int port, PipelineConfigurator<I,O> pipelineConfigurator, ConnectionHandler<I,O> connectionHandler, io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor)