Package org.apache.camel.component.netty
Class DefaultClientInitializerFactory
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
org.apache.camel.component.netty.ClientInitializerFactory
org.apache.camel.component.netty.DefaultClientInitializerFactory
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreatePipelineFactory
(NettyProducer producer) Creates a newClientInitializerFactory
using the givenNettyProducer
protected void
initChannel
(io.netty.channel.Channel ch) Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
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
-
DefaultClientInitializerFactory
-
-
Method Details
-
initChannel
- Specified by:
initChannel
in classio.netty.channel.ChannelInitializer<io.netty.channel.Channel>
- Throws:
Exception
-
createPipelineFactory
Description copied from class:ClientInitializerFactory
Creates a newClientInitializerFactory
using the givenNettyProducer
- Specified by:
createPipelineFactory
in classClientInitializerFactory
- Parameters:
producer
- the associated producers- Returns:
- the
ClientInitializerFactory
associated to the given producer.
-