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