org.apache.camel.component.netty
Class ServerPipelineFactory

java.lang.Object
  extended by 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 must support creating a new instance of this factory which is associated to the given NettyConsumer using the createPipelineFactory(NettyConsumer) method.

See Also:
ChannelPipelineFactory

Constructor Summary
ServerPipelineFactory()
           
 
Method Summary
abstract  ServerPipelineFactory createPipelineFactory(NettyConsumer consumer)
          Creates a new ClientPipelineFactory using the given NettyConsumer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.netty.channel.ChannelPipelineFactory
getPipeline
 

Constructor Detail

ServerPipelineFactory

public ServerPipelineFactory()
Method Detail

createPipelineFactory

public abstract ServerPipelineFactory createPipelineFactory(NettyConsumer consumer)
Creates a new ClientPipelineFactory using the given NettyConsumer

Parameters:
consumer - the associated consumer
Returns:
the ClientPipelineFactory associated to ghe given consumer.


Apache Camel