@FunctionalInterface public interface ChannelPipelineConfigurer
| Modifier and Type | Method and Description |
|---|---|
static ChannelPipelineConfigurer |
emptyConfigurer()
Return a noop configurer
|
void |
onChannelInit(ConnectionObserver connectionObserver,
Channel channel,
SocketAddress remoteAddress)
Configure the channel pipeline while initializing the channel.
|
default ChannelPipelineConfigurer |
then(ChannelPipelineConfigurer other)
Chain together another
ChannelPipelineConfigurer |
static ChannelPipelineConfigurer emptyConfigurer()
void onChannelInit(ConnectionObserver connectionObserver, Channel channel, @Nullable SocketAddress remoteAddress)
connectionObserver - the configured ConnectionObserverchannel - the channelremoteAddress - the remote addressdefault ChannelPipelineConfigurer then(ChannelPipelineConfigurer other)
ChannelPipelineConfigurerother - the next ChannelPipelineConfigurerChannelPipelineConfigurer