类 KuaishouLiveChatClient
java.lang.Object
tech.ordinaryroad.live.chat.client.commons.client.BaseLiveChatClient<Config,MsgListener>
tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient<KuaishouLiveChatClientConfig,PayloadTypeOuterClass.PayloadType,IKuaishouMsg,IKuaishouMsgListener,KuaishouConnectionHandler,KuaishouBinaryFrameHandler>
tech.ordinaryroad.live.chat.client.kuaishou.client.KuaishouLiveChatClient
- 所有已实现的接口:
tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler>,tech.ordinaryroad.live.chat.client.commons.client.IBaseLiveChatClient<IKuaishouMsgListener>
public class KuaishouLiveChatClient
extends tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient<KuaishouLiveChatClientConfig,PayloadTypeOuterClass.PayloadType,IKuaishouMsg,IKuaishouMsgListener,KuaishouConnectionHandler,KuaishouBinaryFrameHandler>
- 作者:
- mjz
-
字段概要
从类继承的字段 tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient
clientConnectionListener从类继承的字段 tech.ordinaryroad.live.chat.client.commons.client.BaseLiveChatClient
cancelReconnect, statusChangeSupport -
构造器概要
构造器构造器说明KuaishouLiveChatClient(KuaishouLiveChatClientConfig config, List<IKuaishouMsgListener> msgListeners, IKuaishouConnectionListener connectionListener, io.netty.channel.EventLoopGroup workerGroup) KuaishouLiveChatClient(KuaishouLiveChatClientConfig config, IKuaishouMsgListener msgListener) KuaishouLiveChatClient(KuaishouLiveChatClientConfig config, IKuaishouMsgListener msgListener, IKuaishouConnectionListener connectionListener) KuaishouLiveChatClient(KuaishouLiveChatClientConfig config, IKuaishouMsgListener msgListener, IKuaishouConnectionListener connectionListener, io.netty.channel.EventLoopGroup workerGroup) -
方法概要
修饰符和类型方法说明voidprotected Stringvoidinit()protected voidinitChannel(io.netty.channel.socket.SocketChannel channel) initConnectionHandler(tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler> clientConnectionListener) void从类继承的方法 tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient
checkCanSendDanmu, checkCanSendDanmu, connect, destroy, disconnect, finishSendDanmu, getBootstrap, getWebsocketUri, getWorkerGroup, onConnected, onConnectFailed, onDisconnected, send, setStatus, tryReconnect从类继承的方法 tech.ordinaryroad.live.chat.client.commons.client.BaseLiveChatClient
addMsgListener, addMsgListeners, addStatusChangeListener, addStatusChangeListener, checkStatus, clickLike, clickLike, clickLike, connect, connect, disconnect, getConfig, getMsgListeners, getStatus, iteratorMsgListeners, removeAllMsgListeners, removeMsgListener, removeMsgListeners, removeStatusChangeListener, removeStatusChangeListener, send, send, send, sendDanmu, sendDanmu, sendDanmu
-
构造器详细资料
-
KuaishouLiveChatClient
public KuaishouLiveChatClient(KuaishouLiveChatClientConfig config, List<IKuaishouMsgListener> msgListeners, IKuaishouConnectionListener connectionListener, io.netty.channel.EventLoopGroup workerGroup) -
KuaishouLiveChatClient
public KuaishouLiveChatClient(KuaishouLiveChatClientConfig config, IKuaishouMsgListener msgListener, IKuaishouConnectionListener connectionListener, io.netty.channel.EventLoopGroup workerGroup) -
KuaishouLiveChatClient
public KuaishouLiveChatClient(KuaishouLiveChatClientConfig config, IKuaishouMsgListener msgListener, IKuaishouConnectionListener connectionListener) -
KuaishouLiveChatClient
public KuaishouLiveChatClient(KuaishouLiveChatClientConfig config, IKuaishouMsgListener msgListener) -
KuaishouLiveChatClient
-
-
方法详细资料
-
init
public void init()- 指定者:
init在接口中tech.ordinaryroad.live.chat.client.commons.client.IBaseLiveChatClient<IKuaishouMsgListener>- 覆盖:
init在类中tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient<KuaishouLiveChatClientConfig,PayloadTypeOuterClass.PayloadType, IKuaishouMsg, IKuaishouMsgListener, KuaishouConnectionHandler, KuaishouBinaryFrameHandler>
-
getWebSocketUriString
- 覆盖:
getWebSocketUriString在类中tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient<KuaishouLiveChatClientConfig,PayloadTypeOuterClass.PayloadType, IKuaishouMsg, IKuaishouMsgListener, KuaishouConnectionHandler, KuaishouBinaryFrameHandler>
-
initConnectionHandler
public KuaishouConnectionHandler initConnectionHandler(tech.ordinaryroad.live.chat.client.commons.base.listener.IBaseConnectionListener<KuaishouConnectionHandler> clientConnectionListener) - 指定者:
initConnectionHandler在类中tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient<KuaishouLiveChatClientConfig,PayloadTypeOuterClass.PayloadType, IKuaishouMsg, IKuaishouMsgListener, KuaishouConnectionHandler, KuaishouBinaryFrameHandler>
-
initChannel
protected void initChannel(io.netty.channel.socket.SocketChannel channel) - 覆盖:
initChannel在类中tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient<KuaishouLiveChatClientConfig,PayloadTypeOuterClass.PayloadType, IKuaishouMsg, IKuaishouMsgListener, KuaishouConnectionHandler, KuaishouBinaryFrameHandler>
-
sendDanmu
- 指定者:
sendDanmu在接口中tech.ordinaryroad.live.chat.client.commons.client.IBaseLiveChatClient<IKuaishouMsgListener>- 覆盖:
sendDanmu在类中tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient<KuaishouLiveChatClientConfig,PayloadTypeOuterClass.PayloadType, IKuaishouMsg, IKuaishouMsgListener, KuaishouConnectionHandler, KuaishouBinaryFrameHandler>
-
clickLike
- 指定者:
clickLike在接口中tech.ordinaryroad.live.chat.client.commons.client.IBaseLiveChatClient<IKuaishouMsgListener>- 覆盖:
clickLike在类中tech.ordinaryroad.live.chat.client.servers.netty.client.base.BaseNettyClient<KuaishouLiveChatClientConfig,PayloadTypeOuterClass.PayloadType, IKuaishouMsg, IKuaishouMsgListener, KuaishouConnectionHandler, KuaishouBinaryFrameHandler>
-