org.apache.camel.component.netty
Class ClientPipelineFactory
java.lang.Object
org.apache.camel.component.netty.ClientPipelineFactory
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelPipelineFactory
- Direct Known Subclasses:
- DefaultClientPipelineFactory
public abstract class ClientPipelineFactory
- extends Object
- implements org.jboss.netty.channel.ChannelPipelineFactory
Factory to create ChannelPipeline
for clients, eg NettyProducer
.
Implementators should use implement the getPipeline(NettyProducer)
method.
- See Also:
ChannelPipelineFactory
Method Summary |
org.jboss.netty.channel.ChannelPipeline |
getPipeline()
|
abstract org.jboss.netty.channel.ChannelPipeline |
getPipeline(NettyProducer producer)
Returns a newly created ChannelPipeline . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientPipelineFactory
public ClientPipelineFactory()
getPipeline
public abstract org.jboss.netty.channel.ChannelPipeline getPipeline(NettyProducer producer)
throws Exception
- Returns a newly created
ChannelPipeline
.
- Parameters:
producer
- the netty producer
- Throws:
Exception
getPipeline
public org.jboss.netty.channel.ChannelPipeline getPipeline()
throws Exception
- Specified by:
getPipeline
in interface org.jboss.netty.channel.ChannelPipelineFactory
- Throws:
Exception
Apache CAMEL