public class LCIMTypedMessageHandler<T extends LCIMTypedMessage> extends MessageHandler<T>
Constructor and Description |
---|
LCIMTypedMessageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
onMessage(T message,
LCIMConversation conversation,
LCIMClient client)
重载此方法来处理接收消息
|
void |
onMessageReceipt(T message,
LCIMConversation conversation,
LCIMClient client)
重载此方法来处理消息回执
|
void |
onMessageReceiptEx(T message,
String operator,
LCIMConversation conversation,
LCIMClient client) |
processEvent0
processEvent
public void onMessage(T message, LCIMConversation conversation, LCIMClient client)
onMessage
in class MessageHandler<T extends LCIMTypedMessage>
message
- message instance.conversation
- conversation instance.client
- client instance.public void onMessageReceipt(T message, LCIMConversation conversation, LCIMClient client)
onMessageReceipt
in class MessageHandler<T extends LCIMTypedMessage>
message
- message instance.conversation
- conversation instance.client
- client instance.public void onMessageReceiptEx(T message, String operator, LCIMConversation conversation, LCIMClient client)
onMessageReceiptEx
in class MessageHandler<T extends LCIMTypedMessage>
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.