org.webbitserver.netty
Class HybiWebSocketFrameEncoder

java.lang.Object
  extended by org.jboss.netty.handler.codec.oneone.OneToOneEncoder
      extended by org.webbitserver.netty.HybiWebSocketFrameEncoder
All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler

public class HybiWebSocketFrameEncoder
extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder


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

Constructor Detail

HybiWebSocketFrameEncoder

public HybiWebSocketFrameEncoder()
Method Detail

encode

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


Copyright © 2013. All Rights Reserved.