title: Netty 3.2.6 to Netty 4.0x migration
body: <p>I have following specific queries on migration</p>
  
  <p>a) I am currently using <code>IdleStateAwareChannelUpstreamHandler</code> to handle <code>channelIdle</code> event along with other regular <code>ChannelUpstream</code> event callbacks. When this is migrated to 4.0x model, what should be the equivalent approach ?</p>
  
  <p>b) What is the equivalent <code>EventExecutor</code> for <code>OrdredMemoryAwareThreadPoolExecutor</code> in 4.0x ?</p>
  
  <p>c) In 3.2.6, I had used channelId from event objects of handler-callbacks to keep track of clients uniquely. For example, in <code>channelConnected</code> callback, I used to obtain the <code>channelId</code> from <code>evt.getChannel().getId()</code>. Since events are more fine-grained in 4.0x, what is the best way to obtain Netty-generated unique channel id ? I had checked if <code>ChannelHandlerContext</code> provides a means to obtain the same. But I could not find an equivalent</p>
  
  <p>I am referring to javadocs at <a href="http://netty.io/4.0/api/" rel="nofollow">http://netty.io/4.0/api/</a></p>
  
  <p>Thanks in advance</p>