public class ServerBuilder<I,O> extends ConnectionBasedServerBuilder<I,O,ServerBuilder<I,O>>
RxServer
connectionHandler, eventExecutorGroup, eventListenersFactory, pipelineConfigurator, port, serverBootstrap, serverChannelClass, sslEngineFactory, wireLogginLevel
Constructor and Description |
---|
ServerBuilder(int port,
ConnectionHandler<I,O> connectionHandler) |
ServerBuilder(int port,
ConnectionHandler<I,O> connectionHandler,
io.netty.bootstrap.ServerBootstrap bootstrap) |
Modifier and Type | Method and Description |
---|---|
protected RxServer<I,O> |
createServer() |
protected MetricEventsListener<ServerMetricsEvent<ServerMetricsEvent.EventType>> |
newMetricsListener(MetricEventsListenerFactory factory,
RxServer<I,O> server) |
childChannelOption, configureDefaultEventloopGroup, defaultChannelOptions, defaultServerChannelClass, eventLoops
appendPipelineConfigurator, build, channel, channelOption, enableWireLogging, eventLoop, getPipelineConfigurator, pipelineConfigurator, returnBuilder, withEventExecutorGroup, withMetricEventsListenerFactory, withSslEngineFactory
public ServerBuilder(int port, ConnectionHandler<I,O> connectionHandler)
public ServerBuilder(int port, ConnectionHandler<I,O> connectionHandler, io.netty.bootstrap.ServerBootstrap bootstrap)
protected RxServer<I,O> createServer()
createServer
in class AbstractServerBuilder<I,O,io.netty.bootstrap.ServerBootstrap,io.netty.channel.ServerChannel,ServerBuilder<I,O>,RxServer<I,O>>
protected MetricEventsListener<ServerMetricsEvent<ServerMetricsEvent.EventType>> newMetricsListener(MetricEventsListenerFactory factory, RxServer<I,O> server)
newMetricsListener
in class AbstractServerBuilder<I,O,io.netty.bootstrap.ServerBootstrap,io.netty.channel.ServerChannel,ServerBuilder<I,O>,RxServer<I,O>>