Package org.apache.cassandra.transport
Class PreV5Handlers.ProtocolDecoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.MessageToMessageDecoder<Envelope>
-
- org.apache.cassandra.transport.PreV5Handlers.ProtocolDecoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- Enclosing class:
- PreV5Handlers
@Sharable public static class PreV5Handlers.ProtocolDecoder extends io.netty.handler.codec.MessageToMessageDecoder<Envelope>
Simple adaptor to allowMessage.Decoder.decodeMessage(Channel, Envelope)
to be used as a handler in pre-V5 pipelines
-
-
Field Summary
Fields Modifier and Type Field Description static PreV5Handlers.ProtocolDecoder
instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decode(io.netty.channel.ChannelHandlerContext ctx, Envelope source, java.util.List<java.lang.Object> results)
-
Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder
acceptInboundMessage, channelRead
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Field Detail
-
instance
public static final PreV5Handlers.ProtocolDecoder instance
-
-