org.infinispan.server.core.transport.netty
Class NettyEncoder

java.lang.Object
  extended by org.jboss.netty.handler.codec.oneone.OneToOneEncoder
      extended by org.infinispan.server.core.transport.netty.NettyEncoder
All Implemented Interfaces:
org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler

@ChannelHandler.Sharable
public class NettyEncoder
extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder

// TODO: Document this

Since:
4.1
Author:
Galder ZamarreƱo

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
NettyEncoder(Encoder encoder)
           
 
Method Summary
protected  Object encode(org.jboss.netty.channel.ChannelHandlerContext nCtx, org.jboss.netty.channel.Channel ch, 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

NettyEncoder

public NettyEncoder(Encoder encoder)
Method Detail

encode

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

Google Analytics

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