类 DouyinBinaryFrameHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<Msg>
tech.ordinaryroad.live.chat.client.servers.netty.handler.base.BaseBinaryFrameHandler<BinaryFrameHandler,CmdEnum,Msg,MsgListener>
tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientBinaryFrameHandler<DouyinLiveChatClient,DouyinBinaryFrameHandler,DouyinCmdEnum,IDouyinMsg,IDouyinMsgListener>
tech.ordinaryroad.live.chat.client.douyin.netty.handler.DouyinBinaryFrameHandler
所有已实现的接口:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseMsgListener<DouyinBinaryFrameHandler,DouyinCmdEnum>

@Sharable public class DouyinBinaryFrameHandler extends tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientBinaryFrameHandler<DouyinLiveChatClient,DouyinBinaryFrameHandler,DouyinCmdEnum,IDouyinMsg,IDouyinMsgListener>
作者:
mjz
  • 嵌套类概要

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

    io.netty.channel.ChannelHandler.Sharable
  • 字段概要

    从类继承的字段 tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientBinaryFrameHandler

    client

    从类继承的字段 tech.ordinaryroad.live.chat.client.servers.netty.handler.base.BaseBinaryFrameHandler

    msgListeners
  • 构造器概要

    构造器
    构造器
    说明
    DouyinBinaryFrameHandler(List<IDouyinMsgListener> iDouyinMsgListeners, long roomId)
     
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
     
    void
    handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
     
    void
    onCmdMsg(DouyinCmdEnum cmd, tech.ordinaryroad.live.chat.client.commons.base.msg.ICmdMsg<DouyinCmdEnum> cmdMsg)
     

    从类继承的方法 tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientBinaryFrameHandler

    getClient

    从类继承的方法 tech.ordinaryroad.live.chat.client.servers.netty.handler.base.BaseBinaryFrameHandler

    channelRead0, exceptionCaught, getRoomId, getRoomIdAsLong, getRoomIdAsString, iteratorMsgListeners, onCmdMsg, onMsg, onUnknownCmd

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

    acceptInboundMessage, channelRead

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

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

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

    ensureNotSharable, isSharable

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

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

    从接口继承的方法 tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseMsgListener

    onMsg, onOtherCmdMsg, onOtherCmdMsg, onUnknownCmd
  • 构造器详细资料

  • 方法详细资料

    • handlerAdded

      public void handlerAdded(io.netty.channel.ChannelHandlerContext ctx) throws Exception
      指定者:
      handlerAdded 在接口中 io.netty.channel.ChannelHandler
      覆盖:
      handlerAdded 在类中 io.netty.channel.ChannelHandlerAdapter
      抛出:
      Exception
    • handlerRemoved

      public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) throws Exception
      指定者:
      handlerRemoved 在接口中 io.netty.channel.ChannelHandler
      覆盖:
      handlerRemoved 在类中 io.netty.channel.ChannelHandlerAdapter
      抛出:
      Exception
    • onCmdMsg

      public void onCmdMsg(DouyinCmdEnum cmd, tech.ordinaryroad.live.chat.client.commons.base.msg.ICmdMsg<DouyinCmdEnum> cmdMsg)