---
title: "netty学习之ChannelEvent"
author: "asialee"
date: "2013-01-14T19:18:51Z"
tags: ["netty"]
categories: ["编程语言"]
slug: "netty-channelevent"
draft: false
lastmod: "2013-01-14T21:14:46Z"
id: 1769648
url: "https://asialee.iteye.com/blog/1769648"
---

netty里面ChannelEvent是非常重要的一个概念，在这个里面我们来重点分析一下。

           
![](http://dl.iteye.com/upload/attachment/0079/2597/350258d0-31d7-3f53-85e4-e017c3bbf150.png)  
 

           ChannelEvent应该是netty里面比较重要的概念了，这个是在ChannelPipeline的ChannelHandlers里面传递的对象。event分为两种，一种是upstream event，另外一种是downstream event，关于这个的网上的资料很多，就不特殊讲了，javadoc里面讲的也很详细。