public abstract class ConnectionBasedServerBuilder<I,O,B extends ConnectionBasedServerBuilder> extends AbstractServerBuilder<I,O,io.netty.bootstrap.ServerBootstrap,io.netty.channel.ServerChannel,B,RxServer<I,O>>
connectionHandler, eventExecutorGroup, eventListenersFactory, pipelineConfigurator, port, serverBootstrap, serverChannelClass, sslEngineFactory, wireLogginLevel
Modifier | Constructor and Description |
---|---|
protected |
ConnectionBasedServerBuilder(int port,
ConnectionHandler<I,O> connectionHandler) |
protected |
ConnectionBasedServerBuilder(int port,
ConnectionHandler<I,O> connectionHandler,
io.netty.bootstrap.ServerBootstrap bootstrap) |
Modifier and Type | Method and Description |
---|---|
<T> B |
childChannelOption(io.netty.channel.ChannelOption<T> option,
T value) |
protected void |
configureDefaultEventloopGroup() |
B |
defaultChannelOptions() |
protected java.lang.Class<? extends io.netty.channel.ServerChannel> |
defaultServerChannelClass() |
B |
eventLoops(io.netty.channel.EventLoopGroup acceptorGroup,
io.netty.channel.EventLoopGroup workerGroup) |
appendPipelineConfigurator, build, channel, channelOption, createServer, enableWireLogging, eventLoop, getPipelineConfigurator, newMetricsListener, pipelineConfigurator, returnBuilder, withEventExecutorGroup, withMetricEventsListenerFactory, withSslEngineFactory
protected ConnectionBasedServerBuilder(int port, ConnectionHandler<I,O> connectionHandler)
protected ConnectionBasedServerBuilder(int port, ConnectionHandler<I,O> connectionHandler, io.netty.bootstrap.ServerBootstrap bootstrap)
public B eventLoops(io.netty.channel.EventLoopGroup acceptorGroup, io.netty.channel.EventLoopGroup workerGroup)
public <T> B childChannelOption(io.netty.channel.ChannelOption<T> option, T value)
protected java.lang.Class<? extends io.netty.channel.ServerChannel> defaultServerChannelClass()
defaultServerChannelClass
in class AbstractServerBuilder<I,O,io.netty.bootstrap.ServerBootstrap,io.netty.channel.ServerChannel,B extends ConnectionBasedServerBuilder,RxServer<I,O>>
protected void configureDefaultEventloopGroup()
configureDefaultEventloopGroup
in class AbstractServerBuilder<I,O,io.netty.bootstrap.ServerBootstrap,io.netty.channel.ServerChannel,B extends ConnectionBasedServerBuilder,RxServer<I,O>>
public B defaultChannelOptions()
defaultChannelOptions
in class AbstractServerBuilder<I,O,io.netty.bootstrap.ServerBootstrap,io.netty.channel.ServerChannel,B extends ConnectionBasedServerBuilder,RxServer<I,O>>