Package org.apache.storm.messaging.netty
Class MessageDecoder
java.lang.Object
org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapter
org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
org.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoder
org.apache.storm.messaging.netty.MessageDecoder
- All Implemented Interfaces:
- org.apache.storm.shade.io.netty.channel.ChannelHandler,- org.apache.storm.shade.io.netty.channel.ChannelInboundHandler
public class MessageDecoder
extends org.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoder
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoderorg.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoder.CumulatorNested classes/interfaces inherited from interface org.apache.storm.shade.io.netty.channel.ChannelHandlerorg.apache.storm.shade.io.netty.channel.ChannelHandler.Sharable
- 
Field SummaryFields inherited from class org.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoderCOMPOSITE_CUMULATOR, MERGE_CUMULATOR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddecode(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, org.apache.storm.shade.io.netty.buffer.ByteBuf buf, List<Object> out) voidexceptionCaught(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Throwable cause) Methods inherited from class org.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoderactualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredMethods inherited from class org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapterchannelActive, channelRegistered, channelUnregistered, channelWritabilityChangedMethods inherited from class org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapterensureNotSharable, handlerAdded, isSharableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.storm.shade.io.netty.channel.ChannelHandlerhandlerAdded
- 
Constructor Details- 
MessageDecoder
 
- 
- 
Method Details- 
decodeprotected void decode(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, org.apache.storm.shade.io.netty.buffer.ByteBuf buf, List<Object> out) throws Exception - Specified by:
- decodein class- org.apache.storm.shade.io.netty.handler.codec.ByteToMessageDecoder
- Throws:
- Exception
 
- 
exceptionCaughtpublic void exceptionCaught(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, Throwable cause) - Specified by:
- exceptionCaughtin interface- org.apache.storm.shade.io.netty.channel.ChannelHandler
- Specified by:
- exceptionCaughtin interface- org.apache.storm.shade.io.netty.channel.ChannelInboundHandler
- Overrides:
- exceptionCaughtin class- org.apache.storm.shade.io.netty.channel.ChannelInboundHandlerAdapter
 
 
-