* Improved the diagram in ChannelPipeline
This commit is contained in:
parent
b06323011d
commit
80d14bbb0e
@ -59,40 +59,40 @@ import org.jboss.netty.handler.ssl.SslHandler;
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* I/O Request
|
||||
* via {@link Channel} or
|
||||
* {@link ChannelHandlerContext}
|
||||
* |
|
||||
* +---------------------------------------------+----------------+
|
||||
* | ChannelPipeline | |
|
||||
* | \|/ |
|
||||
* | +----------------------+ +-----------+------------+ |
|
||||
* | LAST | Upstream Handler N | | Downstream Handler M | |
|
||||
* | . +----------+-----------+ +-----------+------------+ |
|
||||
* | . /|\ | |
|
||||
* | . | \|/ |
|
||||
* | . +----------+-----------+ +-----------+------------+ |
|
||||
* | . | Upstream Handler N-1 | | Downstream Handler M-1 | |
|
||||
* | . +----------+-----------+ +-----------+------------+ |
|
||||
* | . /|\ . |
|
||||
* | . . . |
|
||||
* | . [ Going UPSTREAM ] [ Going DOWNSTREAM ] |
|
||||
* | . . . |
|
||||
* | . . \|/ |
|
||||
* | . +----------+-----------+ +-----------+------------+ |
|
||||
* | . | Upstream Handler 2 | | Downstream Handler 2 | |
|
||||
* | . +----------+-----------+ +-----------+------------+ |
|
||||
* | . /|\ | |
|
||||
* | . | \|/ |
|
||||
* | . +----------+-----------+ +-----------+------------+ |
|
||||
* | FIRST | Upstream Handler 1 | | Downstream Handler 1 | |
|
||||
* | +----------+-----------+ +-----------+------------+ |
|
||||
* | /|\ | |
|
||||
* +------------------+--------------------------+----------------+
|
||||
* | \|/
|
||||
* +------------------+--------------------------+----------------+
|
||||
* | I/O Threads (Transport Implementation) |
|
||||
* +--------------------------------------------------------------+
|
||||
* I/O Request
|
||||
* via {@link Channel} or
|
||||
* {@link ChannelHandlerContext}
|
||||
* |
|
||||
* +---------------------------------------------+--------------------+
|
||||
* | ChannelPipeline | |
|
||||
* | \|/ |
|
||||
* | +----------------------+ +-----------+------------+ |
|
||||
* | LAST | Upstream Handler N | | Downstream Handler M | LAST |
|
||||
* | . +----------+-----------+ +-----------+------------+ . |
|
||||
* | . /|\ | . |
|
||||
* | . | \|/ . |
|
||||
* | . +----------+-----------+ +-----------+------------+ . |
|
||||
* | . | Upstream Handler N-1 | | Downstream Handler M-1 | . |
|
||||
* | . +----------+-----------+ +-----------+------------+ . |
|
||||
* | . /|\ . . |
|
||||
* | . . . . |
|
||||
* | . [ Going UPSTREAM ] [ Going DOWNSTREAM ] . |
|
||||
* | . . . . |
|
||||
* | . . \|/ . |
|
||||
* | . +----------+-----------+ +-----------+------------+ . |
|
||||
* | . | Upstream Handler 2 | | Downstream Handler 2 | . |
|
||||
* | . +----------+-----------+ +-----------+------------+ . |
|
||||
* | . /|\ | . |
|
||||
* | . | \|/ . |
|
||||
* | . +----------+-----------+ +-----------+------------+ . |
|
||||
* | FIRST | Upstream Handler 1 | | Downstream Handler 1 | FIRST |
|
||||
* | +----------+-----------+ +-----------+------------+ |
|
||||
* | /|\ | |
|
||||
* +------------------+--------------------------+--------------------+
|
||||
* | \|/
|
||||
* +------------------+--------------------------+--------------------+
|
||||
* | I/O Threads (Transport Implementation) |
|
||||
* +------------------------------------------------------------------+
|
||||
* </pre>
|
||||
*
|
||||
* <h3>Building a pipeline</h3>
|
||||
|
Loading…
Reference in New Issue
Block a user