More explanation + more links
This commit is contained in:
parent
80d14bbb0e
commit
b23b9dd03b
@ -66,18 +66,18 @@ public interface ChannelHandlerContext {
|
||||
boolean canHandleDownstream();
|
||||
|
||||
/**
|
||||
* Sends the specified {@link ChannelEvent} to the next handler in the
|
||||
* {@link ChannelPipeline}. It is always recommended to use the
|
||||
* event generation methods provided by {@link Channels} rather than
|
||||
* calling this method directly by yourself.
|
||||
* Sends the specified {@link ChannelEvent} to the next
|
||||
* {@link ChannelUpstreamHandler} in the {@link ChannelPipeline}. It is
|
||||
* recommended to use the event generation methods in {@link Channels}
|
||||
* rather than calling this method directly.
|
||||
*/
|
||||
void sendUpstream(ChannelEvent e);
|
||||
|
||||
/**
|
||||
* Sends the specified {@link ChannelEvent} to the previous handler in the
|
||||
* {@link ChannelPipeline}. It is always recommended to use the
|
||||
* event generation methods provided by {@link Channels} rather than
|
||||
* calling this method directly by yourself.
|
||||
* Sends the specified {@link ChannelEvent} to the previous
|
||||
* {@link ChannelDownstreamHandler} in the {@link ChannelPipeline}. It is
|
||||
* recommended to use the event generation methods in {@link Channels}
|
||||
* rather than calling this method directly.
|
||||
*/
|
||||
void sendDownstream(ChannelEvent e);
|
||||
}
|
@ -94,6 +94,10 @@ import org.jboss.netty.handler.ssl.SslHandler;
|
||||
* | I/O Threads (Transport Implementation) |
|
||||
* +------------------------------------------------------------------+
|
||||
* </pre>
|
||||
* Please note that a upstream event is processed by from the first upstream
|
||||
* handler to the last upstream handler (i.e. to the next) and a downstream
|
||||
* event is processed by from the last downstream handler to the first
|
||||
* downstream handler (i.e. to the previous).
|
||||
*
|
||||
* <h3>Building a pipeline</h3>
|
||||
* <p>
|
||||
|
Loading…
Reference in New Issue
Block a user