Class KuaishouBinaryFrameHandler
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<KuaishouLiveChatClient,KuaishouBinaryFrameHandler,PayloadTypeOuterClass.PayloadType,IKuaishouMsg,IKuaishouMsgListener>
tech.ordinaryroad.live.chat.client.kuaishou.netty.handler.KuaishouBinaryFrameHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseMsgListener<KuaishouBinaryFrameHandler,PayloadTypeOuterClass.PayloadType>
@Sharable
public class KuaishouBinaryFrameHandler
extends tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientBinaryFrameHandler<KuaishouLiveChatClient,KuaishouBinaryFrameHandler,PayloadTypeOuterClass.PayloadType,IKuaishouMsg,IKuaishouMsgListener>
- Author:
- mjz
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientBinaryFrameHandler
clientFields inherited from class tech.ordinaryroad.live.chat.client.servers.netty.handler.base.BaseBinaryFrameHandler
msgListeners -
Constructor Summary
ConstructorsConstructorDescriptionKuaishouBinaryFrameHandler(List<IKuaishouMsgListener> iKuaishouMsgListeners, long roomId) KuaishouBinaryFrameHandler(List<IKuaishouMsgListener> iKuaishouMsgListeners, KuaishouLiveChatClient client) -
Method Summary
Modifier and TypeMethodDescriptionvoidonCmdMsg(PayloadTypeOuterClass.PayloadType cmd, tech.ordinaryroad.live.chat.client.commons.base.msg.ICmdMsg<PayloadTypeOuterClass.PayloadType> cmdMsg) Methods inherited from class tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientBinaryFrameHandler
getClientMethods inherited from class tech.ordinaryroad.live.chat.client.servers.netty.handler.base.BaseBinaryFrameHandler
channelRead0, exceptionCaught, getRoomId, getRoomIdAsLong, getRoomIdAsString, iteratorMsgListeners, onCmdMsg, onMsg, onUnknownCmdMethods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelReadMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemovedMethods inherited from interface tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseMsgListener
onMsg, onOtherCmdMsg, onOtherCmdMsg, onUnknownCmd
-
Constructor Details
-
KuaishouBinaryFrameHandler
public KuaishouBinaryFrameHandler(List<IKuaishouMsgListener> iKuaishouMsgListeners, KuaishouLiveChatClient client) -
KuaishouBinaryFrameHandler
-
-
Method Details
-
onCmdMsg
public void onCmdMsg(PayloadTypeOuterClass.PayloadType cmd, tech.ordinaryroad.live.chat.client.commons.base.msg.ICmdMsg<PayloadTypeOuterClass.PayloadType> cmdMsg)
-