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.
限定符和类型 | 方法和说明 |
---|---|
ChannelPipeline |
getPipeline()
Returns a newly created
ChannelPipeline . |
ChannelPipeline getPipeline() throws java.lang.Exception
ChannelPipeline
.java.lang.Exception