Class SimpleChannelInitializer<C extends io.netty.channel.Channel>
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
com.linkedin.alpini.netty4.handlers.ChannelInitializer<C>
com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer<C>
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
HttpServerStatisticsHandler
public abstract class SimpleChannelInitializer<C extends io.netty.channel.Channel>
extends ChannelInitializer<C>
Created by acurtis on 4/27/18.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
addAfter
(C ch, io.netty.util.concurrent.EventExecutorGroup group, String name, io.netty.channel.ChannelHandler handler) protected void
protected com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer.Initializer
addAfter
(io.netty.channel.ChannelHandler... handlers) protected com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer.Initializer
addAfter
(io.netty.util.concurrent.EventExecutorGroup group, io.netty.channel.ChannelHandler... handlers) protected com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer.Initializer
addAfter
(io.netty.util.concurrent.EventExecutorGroup group, String name, io.netty.channel.ChannelHandler handler) protected com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer.Initializer
Methods inherited from class com.linkedin.alpini.netty4.handlers.ChannelInitializer
channelRegistered, currentContext, exceptionCaught, handlerAdded, handlerRemoved, initChannel
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
SimpleChannelInitializer
public SimpleChannelInitializer()
-
-
Method Details
-
addAfter
-
addAfter
-
addAfter
-
addAfter
protected com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer.Initializer addAfter(String name, io.netty.channel.ChannelHandler handler) -
addAfter
protected com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer.Initializer addAfter(io.netty.util.concurrent.EventExecutorGroup group, String name, io.netty.channel.ChannelHandler handler) -
addAfter
protected com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer.Initializer addAfter(io.netty.channel.ChannelHandler... handlers) -
addAfter
protected com.linkedin.alpini.netty4.handlers.SimpleChannelInitializer.Initializer addAfter(io.netty.util.concurrent.EventExecutorGroup group, io.netty.channel.ChannelHandler... handlers)
-