public static class NettyTransportCodec.NettyFrameEncoder
extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder
Constructor and Description |
---|
NettyTransportCodec.NettyFrameEncoder() |
public NettyTransportCodec.NettyFrameEncoder()
protected Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, Object msg) throws Exception
encode
in class org.jboss.netty.handler.codec.oneone.OneToOneEncoder
msg
- NettyDataPack from
NettyServerAvroHandler/NettyClientAvroHandler in the pipelineException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.