
public interface ChannelPipelineFactory
ChannelPipeline for a new Channel.
When a server-side channel accepts a new incoming
connection, a new child channel is created for each newly accepted connection.
A new child channel uses a new ChannelPipeline, which is created by
the ChannelPipelineFactory specified in the server-side channel's
"pipelineFactory" option.
Also, when a ClientBootstrap or ConnectionlessBootstrap
creates a new channel, it uses the "pipelineFactory"
property to create a new ChannelPipeline for each new channel.
| Modifier and Type | Method and Description |
|---|---|
ChannelPipeline |
getPipeline()
Returns a newly created
ChannelPipeline. |
ChannelPipeline getPipeline() throws Exception
ChannelPipeline.ExceptionCopyright © 2008-2014 The Netty Project. All Rights Reserved.