Explicitly documented the case where life cycler handlers are not called.

This commit is contained in:
Trustin Lee 2008-12-03 07:23:29 +00:00
parent d1f0d7fb5e
commit a0a713309e

View File

@ -23,8 +23,10 @@
package org.jboss.netty.channel; package org.jboss.netty.channel;
/** /**
* A {@link ChannelHandler} that is notified when it is added to or removed from * A {@link ChannelHandler} that is notified when it is added to or removed
* a {@link ChannelPipeline}. * from a {@link ChannelPipeline}. Please note that the methods of this
* handler is called only when the {@link ChannelPipeline} it belongs to is
* {@linkplain ChannelPipeline#attach(Channel, ChannelSink) attached}.
* *
* @author The Netty Project (netty-dev@lists.jboss.org) * @author The Netty Project (netty-dev@lists.jboss.org)
* @author Trustin Lee (tlee@redhat.com) * @author Trustin Lee (tlee@redhat.com)