I
- Input type for the pipeline. This is the type one writes to this pipeline.O
- Output type of the emitted observable. This is the type one reads from this pipeline.public class ServerRequiredConfigurator<I,O> extends RxRequiredConfigurator<I,O>
PipelineConfigurator
which is ALWAYS added at the end of the pipeline. This
pipeline configurator bridges between netty's pipeline processing and Rx Observable
BYTES_INSPECTOR_HANDLER_NAME, CONN_LIFECYCLE_HANDLER_NAME, NETTY_OBSERVABLE_ADAPTER_NAME
Constructor and Description |
---|
ServerRequiredConfigurator(ConnectionHandler<I,O> connectionHandler,
ObservableConnectionFactory<I,O> connectionFactory,
ErrorHandler errorHandler,
MetricEventsSubject<ServerMetricsEvent<?>> eventsSubject) |
ServerRequiredConfigurator(ConnectionHandler<I,O> connectionHandler,
ObservableConnectionFactory<I,O> connectionFactory,
ErrorHandler errorHandler,
MetricEventsSubject<ServerMetricsEvent<?>> eventsSubject,
io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor) |
Modifier and Type | Method and Description |
---|---|
protected io.netty.channel.ChannelHandler |
newConnectionLifecycleHandler(io.netty.channel.ChannelPipeline pipeline) |
configureNewPipeline, getConnectionLifecycleHandlerExecutor, getObservableAdapterExecutor
public ServerRequiredConfigurator(ConnectionHandler<I,O> connectionHandler, ObservableConnectionFactory<I,O> connectionFactory, ErrorHandler errorHandler, MetricEventsSubject<ServerMetricsEvent<?>> eventsSubject)
public ServerRequiredConfigurator(ConnectionHandler<I,O> connectionHandler, ObservableConnectionFactory<I,O> connectionFactory, ErrorHandler errorHandler, MetricEventsSubject<ServerMetricsEvent<?>> eventsSubject, io.netty.util.concurrent.EventExecutorGroup connHandlingExecutor)
protected io.netty.channel.ChannelHandler newConnectionLifecycleHandler(io.netty.channel.ChannelPipeline pipeline)
newConnectionLifecycleHandler
in class RxRequiredConfigurator<I,O>