Package org.apache.camel.component.netty
Class ClientInitializerFactory
- 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
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- Direct Known Subclasses:
DefaultClientInitializerFactory
public abstract class ClientInitializerFactory extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
Factory to createChannelPipeline
for clients, egNettyProducer
. Implementators must support creating a new instance of this factory which is associated to the givenNettyProducer
using thecreatePipelineFactory(NettyProducer)
method.- See Also:
ChannelInitializer
-
-
Constructor Summary
Constructors Constructor Description ClientInitializerFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ClientInitializerFactory
createPipelineFactory(NettyProducer producer)
Creates a newClientInitializerFactory
using the givenNettyProducer
-
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved, initChannel
-
-
-
-
Method Detail
-
createPipelineFactory
public abstract ClientInitializerFactory createPipelineFactory(NettyProducer producer)
Creates a newClientInitializerFactory
using the givenNettyProducer
- Parameters:
producer
- the associated producers- Returns:
- the
ClientInitializerFactory
associated to the given producer.
-
-