Package org.apache.bookkeeper.proto
Class BookieProtoEncoding.RequestDecoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.bookkeeper.proto.BookieProtoEncoding.RequestDecoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
- Enclosing class:
- BookieProtoEncoding
@Sharable public static class BookieProtoEncoding.RequestDecoder extends io.netty.channel.ChannelInboundHandlerAdapter
A request message decoder.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BookieProtoEncoding.EnDecoder
reqPreV3
(package private) BookieProtoEncoding.EnDecoder
reqV3
(package private) boolean
usingV3Protocol
-
Constructor Summary
Constructors Constructor Description RequestDecoder(com.google.protobuf.ExtensionRegistry extensionRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
channelRead(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg)
-
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
-
reqPreV3
final BookieProtoEncoding.EnDecoder reqPreV3
-
reqV3
final BookieProtoEncoding.EnDecoder reqV3
-
usingV3Protocol
boolean usingV3Protocol
-
-
Method Detail
-
channelRead
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object msg) throws java.lang.Exception
- Specified by:
channelRead
in interfaceio.netty.channel.ChannelInboundHandler
- Overrides:
channelRead
in classio.netty.channel.ChannelInboundHandlerAdapter
- Throws:
java.lang.Exception
-
-