org.infinispan.server.core.transport.netty
Class NettyEncoder
java.lang.Object
org.jboss.netty.handler.codec.oneone.OneToOneEncoder
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 classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
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 |
NettyEncoder
public NettyEncoder(Encoder encoder)
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
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.