|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smackx.DefaultMessageEventRequestListener
public class DefaultMessageEventRequestListener
Default implementation of the MessageEventRequestListener interface.
This class automatically sends a delivered notification to the sender of the message if the sender has requested to be notified when the message is delivered.
Constructor Summary | |
---|---|
DefaultMessageEventRequestListener()
|
Method Summary | |
---|---|
void |
composingNotificationRequested(java.lang.String from,
java.lang.String packetID,
MessageEventManager messageEventManager)
Called when a request that the receiver of the message is composing a reply notification is received. |
void |
deliveredNotificationRequested(java.lang.String from,
java.lang.String packetID,
MessageEventManager messageEventManager)
Called when a request for message delivered notification is received. |
void |
displayedNotificationRequested(java.lang.String from,
java.lang.String packetID,
MessageEventManager messageEventManager)
Called when a request for message displayed notification is received. |
void |
offlineNotificationRequested(java.lang.String from,
java.lang.String packetID,
MessageEventManager messageEventManager)
Called when a request that the receiver of the message is offline is received. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMessageEventRequestListener()
Method Detail |
---|
public void deliveredNotificationRequested(java.lang.String from, java.lang.String packetID, MessageEventManager messageEventManager)
MessageEventRequestListener
deliveredNotificationRequested
in interface MessageEventRequestListener
from
- the user that sent the notification.packetID
- the id of the message that was sent.messageEventManager
- the messageEventManager that fired the listener.public void displayedNotificationRequested(java.lang.String from, java.lang.String packetID, MessageEventManager messageEventManager)
MessageEventRequestListener
displayedNotificationRequested
in interface MessageEventRequestListener
from
- the user that sent the notification.packetID
- the id of the message that was sent.messageEventManager
- the messageEventManager that fired the listener.public void composingNotificationRequested(java.lang.String from, java.lang.String packetID, MessageEventManager messageEventManager)
MessageEventRequestListener
composingNotificationRequested
in interface MessageEventRequestListener
from
- the user that sent the notification.packetID
- the id of the message that was sent.messageEventManager
- the messageEventManager that fired the listener.public void offlineNotificationRequested(java.lang.String from, java.lang.String packetID, MessageEventManager messageEventManager)
MessageEventRequestListener
offlineNotificationRequested
in interface MessageEventRequestListener
from
- the user that sent the notification.packetID
- the id of the message that was sent.messageEventManager
- the messageEventManager that fired the listener.
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |