R
- The input object type for the pipeline i.e. the object type which is read from the pipeline.
This type is not enforced by the pipeline configurator per se, but they are just to make the creator of
RxServer
and RxClientImpl
type aware.W
- The output object type for the pipeline i.e. the object type which is written to the pipeline.
This type is not enforced by the pipeline configurator per se, but they are just to make the creator of
RxServer
and RxClientImpl
type aware.public interface PipelineConfigurator<R,W>
Modifier and Type | Method and Description |
---|---|
void |
configureNewPipeline(io.netty.channel.ChannelPipeline pipeline)
A callback to configure the passed
pipeline . |
void configureNewPipeline(io.netty.channel.ChannelPipeline pipeline)
pipeline
. This will be invoked everytime a new netty pipeline is
created, which is whenever a new channel is established.pipeline
- The pipeline to configure.