Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp.protocol
Class DebugHandler

java.lang.Object
  extended by org.projectodd.stilts.stomp.protocol.DebugHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

public class DebugHandler
extends Object
implements org.jboss.netty.channel.ChannelUpstreamHandler, org.jboss.netty.channel.ChannelDownstreamHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
DebugHandler(String scope)
           
 
Method Summary
protected  void dump(String direction, org.jboss.netty.channel.ChannelEvent e)
           
protected  void dump(String direction, org.jboss.netty.channel.ExceptionEvent e)
           
protected  void dump(String direction, org.jboss.netty.channel.MessageEvent e)
           
 void handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e)
           
 void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugHandler

public DebugHandler(String scope)
Method Detail

handleDownstream

public void handleDownstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
                             org.jboss.netty.channel.ChannelEvent e)
                      throws Exception
Specified by:
handleDownstream in interface org.jboss.netty.channel.ChannelDownstreamHandler
Throws:
Exception

handleUpstream

public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
                           org.jboss.netty.channel.ChannelEvent e)
                    throws Exception
Specified by:
handleUpstream in interface org.jboss.netty.channel.ChannelUpstreamHandler
Throws:
Exception

dump

protected void dump(String direction,
                    org.jboss.netty.channel.ChannelEvent e)

dump

protected void dump(String direction,
                    org.jboss.netty.channel.ExceptionEvent e)

dump

protected void dump(String direction,
                    org.jboss.netty.channel.MessageEvent e)

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.