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