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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePipelineFactory(NettyProducer producer) Creates a newClientInitializerFactoryusing the givenNettyProducerprotected voidinitChannel(io.netty.channel.Channel ch) Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
DefaultClientInitializerFactory
-
-
Method Details
-
initChannel
- Specified by:
initChannelin classio.netty.channel.ChannelInitializer<io.netty.channel.Channel>- Throws:
Exception
-
createPipelineFactory
Description copied from class:ClientInitializerFactoryCreates a newClientInitializerFactoryusing the givenNettyProducer- Specified by:
createPipelineFactoryin classClientInitializerFactory- Parameters:
producer- the associated producers- Returns:
- the
ClientInitializerFactoryassociated to the given producer.
-