public abstract class LCIMClientEventHandler extends LCIMEventHandler
Constructor and Description |
---|
LCIMClientEventHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onClientOffline(LCIMClient client,
int code)
实现本方法以处理当前登录被踢下线的情况
|
abstract void |
onConnectionPaused(LCIMClient client)
实现本方法以处理网络断开事件
|
abstract void |
onConnectionResume(LCIMClient client)
实现本方法以处理网络恢复事件
|
protected void |
processEvent0(int operation,
Object operator,
Object operand,
Object eventScene) |
processEvent
protected static final LCLogger LOGGER
public abstract void onConnectionPaused(LCIMClient client)
client
- client instancepublic abstract void onConnectionResume(LCIMClient client)
client
- client instancepublic abstract void onClientOffline(LCIMClient client, int code)
client
- client instancecode
- 状态码说明被踢下线的具体原因protected final void processEvent0(int operation, Object operator, Object operand, Object eventScene)
processEvent0
in class LCIMEventHandler
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.