You will also find various helper methods in {@link Channels} to be usefulto generate and fire an artificial or manipulated event.
{@link #handleDownstream(ChannelHandlerContext,ChannelEvent) handleDownstream}may be invoked by more than one thread simultaneously. If the handler accesses a shared resource or stores stateful information, you might need proper synchronization in the handler implementation.
Also, please refer to the {@link ChannelPipelineCoverage} annotation tounderstand the relationship between a handler and its stateful properties. @author The Netty Project (netty-dev@lists.jboss.org) @author Trustin Lee (tlee@redhat.com) @version $Rev: 247 $, $Date: 2008-09-05 19:58:37 +0900 (Fri, 05 Sep 2008) $
|
|
|
|