com.datastax.cassandra.transport
Class Frame.Compressor

java.lang.Object
  extended by org.jboss.netty.handler.codec.oneone.OneToOneEncoder
      extended by com.datastax.cassandra.transport.Frame.Compressor
All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler
Enclosing class:
Frame

public static class Frame.Compressor
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
Frame.Compressor()
           
 
Method Summary
 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
doEncode, handleDownstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Frame.Compressor

public Frame.Compressor()
Method Detail

encode

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


Copyright © 2013. All Rights Reserved.