public class UdpServerBuilder<I,O> extends AbstractServerBuilder<I,O,io.netty.bootstrap.Bootstrap,io.netty.channel.Channel,UdpServerBuilder<I,O>,UdpServer<I,O>>
connectionHandler, eventExecutorGroup, eventListenersFactory, pipelineConfigurator, port, serverBootstrap, serverChannelClass, sslEngineFactory, wireLogginLevel
Constructor and Description |
---|
UdpServerBuilder(int port,
ConnectionHandler<I,O> connectionHandler) |
UdpServerBuilder(int port,
ConnectionHandler<I,O> connectionHandler,
io.netty.bootstrap.Bootstrap bootstrap) |
Modifier and Type | Method and Description |
---|---|
protected UdpServer<I,O> |
createServer() |
UdpServerBuilder<I,O> |
defaultChannelOptions() |
protected java.lang.Class<? extends io.netty.channel.Channel> |
defaultServerChannelClass() |
protected MetricEventsListener<ServerMetricsEvent<?>> |
newMetricsListener(MetricEventsListenerFactory factory,
UdpServer<I,O> server) |
UdpServerBuilder<I,O> |
withSslEngineFactory(SSLEngineFactory sslEngineFactory) |
appendPipelineConfigurator, build, channel, channelOption, configureDefaultEventloopGroup, enableWireLogging, eventLoop, getPipelineConfigurator, pipelineConfigurator, returnBuilder, withEventExecutorGroup, withMetricEventsListenerFactory
public UdpServerBuilder(int port, ConnectionHandler<I,O> connectionHandler)
public UdpServerBuilder(int port, ConnectionHandler<I,O> connectionHandler, io.netty.bootstrap.Bootstrap bootstrap)
protected java.lang.Class<? extends io.netty.channel.Channel> defaultServerChannelClass()
defaultServerChannelClass
in class AbstractServerBuilder<I,O,io.netty.bootstrap.Bootstrap,io.netty.channel.Channel,UdpServerBuilder<I,O>,UdpServer<I,O>>
public UdpServerBuilder<I,O> defaultChannelOptions()
defaultChannelOptions
in class AbstractServerBuilder<I,O,io.netty.bootstrap.Bootstrap,io.netty.channel.Channel,UdpServerBuilder<I,O>,UdpServer<I,O>>
public UdpServerBuilder<I,O> withSslEngineFactory(SSLEngineFactory sslEngineFactory)
withSslEngineFactory
in class AbstractServerBuilder<I,O,io.netty.bootstrap.Bootstrap,io.netty.channel.Channel,UdpServerBuilder<I,O>,UdpServer<I,O>>
protected UdpServer<I,O> createServer()
createServer
in class AbstractServerBuilder<I,O,io.netty.bootstrap.Bootstrap,io.netty.channel.Channel,UdpServerBuilder<I,O>,UdpServer<I,O>>
protected MetricEventsListener<ServerMetricsEvent<?>> newMetricsListener(MetricEventsListenerFactory factory, UdpServer<I,O> server)
newMetricsListener
in class AbstractServerBuilder<I,O,io.netty.bootstrap.Bootstrap,io.netty.channel.Channel,UdpServerBuilder<I,O>,UdpServer<I,O>>