Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp.protocol
Class StompMessageDecoder

java.lang.Object
  extended by org.jboss.netty.handler.codec.oneone.OneToOneDecoder
      extended by org.projectodd.stilts.stomp.protocol.StompMessageDecoder
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

public class StompMessageDecoder
extends org.jboss.netty.handler.codec.oneone.OneToOneDecoder


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
StompMessageDecoder(StompMessageFactory messageFactory)
           
 
Method Summary
protected  Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, Object msg)
           
 
Methods inherited from class org.jboss.netty.handler.codec.oneone.OneToOneDecoder
handleUpstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StompMessageDecoder

public StompMessageDecoder(StompMessageFactory messageFactory)
Method Detail

decode

protected Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
                        org.jboss.netty.channel.Channel channel,
                        Object msg)
                 throws Exception
Specified by:
decode in class org.jboss.netty.handler.codec.oneone.OneToOneDecoder
Throws:
Exception

Stilts 0.1.0-SNAPSHOT

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