public static class NettyTransportCodec.NettyFrameEncoder extends io.netty.handler.codec.MessageToMessageEncoder<NettyTransportCodec.NettyDataPack>
Constructor and Description |
---|
NettyFrameEncoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
NettyTransportCodec.NettyDataPack dataPack,
List<Object> out)
encode msg to ChannelBuffer
|
acceptOutboundMessage, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
protected void encode(io.netty.channel.ChannelHandlerContext ctx, NettyTransportCodec.NettyDataPack dataPack, List<Object> out) throws Exception
encode
in class io.netty.handler.codec.MessageToMessageEncoder<NettyTransportCodec.NettyDataPack>
msg
- NettyDataPack from NettyServerAvroHandler/NettyClientAvroHandler
in the pipelineException
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.