Class MessageDecoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.hugegraph.computer.core.network.netty.codec.MessageDecoder
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
@Sharable public class MessageDecoder extends io.netty.channel.ChannelInboundHandlerAdapterDecoder used by the client side to encode server-to-client responses. This encoder is stateless so it is safe to be shared by multiple threads.
-
-
Field Summary
Fields Modifier and Type Field Description static MessageDecoderINSTANCE_FILE_REGIONstatic MessageDecoderINSTANCE_MEMORY_BUFFER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelRead(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
-
INSTANCE_FILE_REGION
public static final MessageDecoder INSTANCE_FILE_REGION
-
INSTANCE_MEMORY_BUFFER
public static final MessageDecoder INSTANCE_MEMORY_BUFFER
-
-