类 ClientTcpExternalCodec

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
io.netty.handler.codec.MessageToMessageCodec<io.netty.buffer.ByteBuf,BarMessage>
com.iohao.game.external.client.join.ClientTcpExternalCodec
所有已实现的接口:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

public class ClientTcpExternalCodec extends io.netty.handler.codec.MessageToMessageCodec<io.netty.buffer.ByteBuf,BarMessage>
作者:
渔民小镇
日期:
2023-12-15
  • 嵌套类概要

    从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected void
    decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, List<Object> out)
     
    protected void
    encode(io.netty.channel.ChannelHandlerContext ctx, BarMessage message, List<Object> out)
     

    从类继承的方法 io.netty.handler.codec.MessageToMessageCodec

    acceptInboundMessage, acceptOutboundMessage, channelRead, write

    从类继承的方法 io.netty.channel.ChannelDuplexHandler

    bind, close, connect, deregister, disconnect, flush, read

    从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter

    channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered

    从类继承的方法 io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, handlerAdded, handlerRemoved, isSharable

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 io.netty.channel.ChannelHandler

    handlerAdded, handlerRemoved
  • 构造器详细资料

    • ClientTcpExternalCodec

      public ClientTcpExternalCodec()
  • 方法详细资料

    • encode

      protected void encode(io.netty.channel.ChannelHandlerContext ctx, BarMessage message, List<Object> out) throws Exception
      指定者:
      encode 在类中 io.netty.handler.codec.MessageToMessageCodec<io.netty.buffer.ByteBuf,BarMessage>
      抛出:
      Exception
    • decode

      protected void decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, List<Object> out) throws Exception
      指定者:
      decode 在类中 io.netty.handler.codec.MessageToMessageCodec<io.netty.buffer.ByteBuf,BarMessage>
      抛出:
      Exception