类 KuaishouConnectionHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
tech.ordinaryroad.live.chat.client.servers.netty.handler.base.BaseConnectionHandler<ConnectionHandler>
tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientConnectionHandler<KuaishouLiveChatClient,KuaishouConnectionHandler>
tech.ordinaryroad.live.chat.client.kuaishou.netty.handler.KuaishouConnectionHandler
- 所有已实现的接口:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,tech.ordinaryroad.live.chat.client.servers.netty.handler.base.IBaseConnectionHandler
@Sharable
public class KuaishouConnectionHandler
extends tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientConnectionHandler<KuaishouLiveChatClient,KuaishouConnectionHandler>
- 作者:
- mjz
-
嵌套类概要
从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
字段概要
从类继承的字段 tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientConnectionHandler
client -
构造器概要
构造器构造器说明KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, long roomId, KuaishouApis.RoomInitResult roomInitResult, String cookie) KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, long roomId, KuaishouApis.RoomInitResult roomInitResult, tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler> listener) KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, long roomId, KuaishouApis.RoomInitResult roomInitResult, tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler> listener, String cookie) KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, KuaishouApis.RoomInitResult roomInitResult, long roomId) KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, KuaishouLiveChatClient client) KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, KuaishouLiveChatClient client, tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler> listener) -
方法概要
修饰符和类型方法说明voidsendAuthRequest(io.netty.channel.Channel channel) voidsendHeartbeat(io.netty.channel.Channel channel) 从类继承的方法 tech.ordinaryroad.live.chat.client.servers.netty.client.handler.BaseNettyClientConnectionHandler
getClient, getHeartbeatInitialDelay, getHeartbeatPeriod从类继承的方法 tech.ordinaryroad.live.chat.client.servers.netty.handler.base.BaseConnectionHandler
channelActive, channelInactive, exceptionCaught, getHandshakePromise, getWebSocketProtocolHandler, handlerAdded, userEventTriggered从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved, isSharable从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 io.netty.channel.ChannelHandler
handlerRemoved
-
构造器详细资料
-
KuaishouConnectionHandler
public KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, KuaishouLiveChatClient client, tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler> listener) -
KuaishouConnectionHandler
public KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, KuaishouLiveChatClient client) -
KuaishouConnectionHandler
public KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, long roomId, KuaishouApis.RoomInitResult roomInitResult, tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler> listener, String cookie) -
KuaishouConnectionHandler
public KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, long roomId, KuaishouApis.RoomInitResult roomInitResult, tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler> listener) -
KuaishouConnectionHandler
public KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, long roomId, KuaishouApis.RoomInitResult roomInitResult, String cookie) -
KuaishouConnectionHandler
public KuaishouConnectionHandler(Supplier<io.netty.handler.codec.http.websocketx.WebSocketClientProtocolHandler> webSocketProtocolHandler, KuaishouApis.RoomInitResult roomInitResult, long roomId)
-
-
方法详细资料
-
sendHeartbeat
public void sendHeartbeat(io.netty.channel.Channel channel) -
sendAuthRequest
public void sendAuthRequest(io.netty.channel.Channel channel) -
getRoomId
-