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