net.tomp2p.message
Class TomP2PEncoderStage2
java.lang.Object
org.jboss.netty.handler.codec.oneone.OneToOneEncoder
net.tomp2p.message.TomP2PEncoderStage2
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler
@ChannelHandler.Sharable
public class TomP2PEncoderStage2
- extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder
| 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 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 |
TomP2PEncoderStage2
public TomP2PEncoderStage2()
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 © 2011. All Rights Reserved.