public abstract class NettyChannelFactoryInitializer extends NettyChannelFactoryDecorator implements NettyChannelHandlerInitializer
NettyChannelFactoryDecorator
which allows concrete sub-classes to register inbound and outbound ChannelHandler
s.Modifier | Constructor and Description |
---|---|
protected |
NettyChannelFactoryInitializer(NettyChannelFactory channelFactory)
Constructor for NettyChannelFactoryInitializer.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
registerInboundHandlers(LinkedList<io.netty.channel.ChannelInboundHandler> handlers)
registerInboundHandlers.
|
abstract void |
registerOutboundHandlers(LinkedList<io.netty.channel.ChannelOutboundHandler> handlers)
registerOutboundHandlers.
|
close, create, create, getBootstrap, getChannelInitializer, getExecutor, getOptions, getResolver, getTransportType, setChannelInitializer, setResolver
protected NettyChannelFactoryInitializer(NettyChannelFactory channelFactory)
Constructor for NettyChannelFactoryInitializer.
channelFactory
- a NettyChannelFactory
objectpublic abstract void registerInboundHandlers(LinkedList<io.netty.channel.ChannelInboundHandler> handlers)
registerInboundHandlers.
registerInboundHandlers
in interface NettyChannelHandlerInitializer
handlers
- a LinkedList
objectpublic abstract void registerOutboundHandlers(LinkedList<io.netty.channel.ChannelOutboundHandler> handlers)
registerOutboundHandlers.
registerOutboundHandlers
in interface NettyChannelHandlerInitializer
handlers
- a LinkedList
objectCopyright © 2016–2024. All rights reserved.