类 MinecraftPacketMessageDecoder
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.ByteToMessageDecoder
-
- cn.mcres.karlatemp.mxlib.network.minecraft.MinecraftPacketMessageDecoder
-
- 所有已实现的接口:
ChannelHandler
,ChannelInboundHandler
public class MinecraftPacketMessageDecoder extends ByteToMessageDecoder
Packet message decoder for Minecraft.- 从以下版本开始:
- 2.9
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
构造器概要
构造器 构造器 说明 MinecraftPacketMessageDecoder()
-
方法概要
修饰符和类型 方法 说明 protected void
decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out)
-
从类继承的方法 io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecode
-
从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
handlerAdded, isSharable
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.netty.channel.ChannelHandler
handlerAdded
-
-
-
-
方法详细资料
-
decode
protected void decode(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Exception
- 指定者:
decode
在类中ByteToMessageDecoder
- 抛出:
Exception
-
-