- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
@ChannelPipelineCoverage(value="one")
public class SmppSessionThreadRenamer
extends Object
implements org.jboss.netty.channel.ChannelUpstreamHandler
Channel handler responsible for renaming the current thread, passing the
event upstream, then renaming the thread back after its done processing. This
handler should be the first one in the pipeline to make sure all handlers
after it have the correct thread name for proper logging.
- Author:
- joelauer (twitter: @jjlauer or http://twitter.com/jjlauer)