public interface ChatRoomMessageListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
messageDelivered(ChatRoomMessageDeliveredEvent evt)
Called when the underlying implementation has received an indication
that a message, sent earlier has been successfully received by the
destination.
|
void |
messageDeliveryFailed(ChatRoomMessageDeliveryFailedEvent evt)
Called to indicate that delivery of a message sent earlier to the chat
room has failed.
|
void |
messageReceived(ChatRoomMessageReceivedEvent evt)
Called when a new incoming Message has been received.
|
void messageReceived(ChatRoomMessageReceivedEvent evt)
evt
- the ChatRoomMessageReceivedEvent containing the newly
received message, its sender and other details.void messageDelivered(ChatRoomMessageDeliveredEvent evt)
evt
- the ChatRoomMessageDeliveredEvent containing the id
of the message that has caused the event.void messageDeliveryFailed(ChatRoomMessageDeliveryFailedEvent evt)
evt
- the ChatroomMessageDeliveryFailedEvent containing
the ID of the message whose delivery has failed.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.