public class ThriftDecoder
extends org.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoder
Constructor and Description |
---|
ThriftDecoder(int maxLengthBytes)
Instantiate a ThriftDecoder that accepts serialized messages of at most maxLength bytes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
decode(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext channelHandlerContext,
org.apache.storm.shade.io.netty.buffer.ByteBuf buf,
List<Object> out) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
public ThriftDecoder(int maxLengthBytes)
protected void decode(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext channelHandlerContext, org.apache.storm.shade.io.netty.buffer.ByteBuf buf, List<Object> out) throws Exception
decode
in class org.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoder
Exception
Copyright © 2023 The Apache Software Foundation. All rights reserved.