net.floodlightcontroller.core.internal
Class OpenflowPipelineFactory
java.lang.Object
net.floodlightcontroller.core.internal.OpenflowPipelineFactory
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelPipelineFactory, org.jboss.netty.util.ExternalResourceReleasable
public class OpenflowPipelineFactory
- extends java.lang.Object
- implements org.jboss.netty.channel.ChannelPipelineFactory, org.jboss.netty.util.ExternalResourceReleasable
Creates a ChannelPipeline for a server-side openflow channel
- Author:
- readams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
controller
protected Controller controller
pipelineExecutor
protected java.util.concurrent.ThreadPoolExecutor pipelineExecutor
timer
protected org.jboss.netty.util.Timer timer
idleHandler
protected org.jboss.netty.handler.timeout.IdleStateHandler idleHandler
readTimeoutHandler
protected org.jboss.netty.handler.timeout.ReadTimeoutHandler readTimeoutHandler
OpenflowPipelineFactory
public OpenflowPipelineFactory(Controller controller,
java.util.concurrent.ThreadPoolExecutor pipelineExecutor)
getPipeline
public org.jboss.netty.channel.ChannelPipeline getPipeline()
throws java.lang.Exception
- Specified by:
getPipeline
in interface org.jboss.netty.channel.ChannelPipelineFactory
- Throws:
java.lang.Exception
releaseExternalResources
public void releaseExternalResources()
- Specified by:
releaseExternalResources
in interface org.jboss.netty.util.ExternalResourceReleasable