类 PluginMessageProvider
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- io.netty.handler.codec.MessageToByteEncoder<ByteBuf>
-
- cn.mcres.karlatemp.mxlib.impl.PluginMessageProvider
-
- 所有已实现的接口:
ChannelHandler
,ChannelOutboundHandler
public class PluginMessageProvider extends MessageToByteEncoder<ByteBuf>
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
构造器概要
构造器 构造器 说明 PluginMessageProvider(Player owner)
-
方法概要
修饰符和类型 方法 说明 boolean
acceptOutboundMessage(Object o)
protected void
encode(ChannelHandlerContext channelHandlerContext, ByteBuf input, ByteBuf output)
-
从类继承的方法 io.netty.handler.codec.MessageToByteEncoder
allocateBuffer, write
-
从类继承的方法 io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
-
-
-
-
构造器详细资料
-
PluginMessageProvider
public PluginMessageProvider(Player owner)
-
-
方法详细资料
-
acceptOutboundMessage
public boolean acceptOutboundMessage(Object o) throws Exception
- 覆盖:
acceptOutboundMessage
在类中MessageToByteEncoder<ByteBuf>
- 抛出:
Exception
-
encode
protected void encode(ChannelHandlerContext channelHandlerContext, ByteBuf input, ByteBuf output) throws Exception
- 指定者:
encode
在类中MessageToByteEncoder<ByteBuf>
- 抛出:
Exception
-
-