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 create
ChannelPipeline
for clients, eg NettyProducer
.
Implementators must support creating a new instance of this factory which is associated to the given
NettyProducer
using the createPipelineFactory(NettyProducer)
method.
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ClientInitializerFactory
createPipelineFactory
(NettyProducer producer) Creates a newClientInitializerFactory
using the givenNettyProducer
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved, initChannel
-
Constructor Details
-
Method Details
-
createPipelineFactory
Creates a newClientInitializerFactory
using the givenNettyProducer
- Parameters:
producer
- the associated producers- Returns:
- the
ClientInitializerFactory
associated to the given producer.
-