Upstream & Downstream
Upstream指网络层向应用层传播,Downstream相反,应用层向网络层传播,所以Upstream Events的代表是messageReceived,DownStream Events的代表是write方法;
Netty javadoc中对ChannelEvent和ChannelPipeline的说明;
2013-05-08更新:
upstream消息(从网络对端读取消息)从pipeline的handler链的头执行到尾,downstream消息(向网络对端写消息)从handler链的尾执行到头,参考Netty doc "Interface ChannelPipeline"中的图示;