org.apache.camel.component.netty
Class ServerPipelineFactory
java.lang.Object
org.apache.camel.component.netty.ServerPipelineFactory
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelPipelineFactory
- Direct Known Subclasses:
- DefaultServerPipelineFactory
public abstract class ServerPipelineFactory
- extends Object
- implements org.jboss.netty.channel.ChannelPipelineFactory
Factory to create ChannelPipeline
for clients, eg NettyConsumer
.
Implementators should use implement the getPipeline(NettyConsumer)
method.
- See Also:
ChannelPipelineFactory
Method Summary |
org.jboss.netty.channel.ChannelPipeline |
getPipeline()
|
abstract org.jboss.netty.channel.ChannelPipeline |
getPipeline(NettyConsumer consumer)
Returns a newly created ChannelPipeline . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerPipelineFactory
public ServerPipelineFactory()
getPipeline
public abstract org.jboss.netty.channel.ChannelPipeline getPipeline(NettyConsumer consumer)
throws Exception
- Returns a newly created
ChannelPipeline
.
- Parameters:
consumer
- the netty consumer
- 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