|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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(String from,
String packetID,
MessageEventManager messageEventManager)
Called when a request that the receiver of the message is composing a reply notification is received. |
void |
deliveredNotificationRequested(String from,
String packetID,
MessageEventManager messageEventManager)
Called when a request for message delivered notification is received. |
void |
displayedNotificationRequested(String from,
String packetID,
MessageEventManager messageEventManager)
Called when a request for message displayed notification is received. |
void |
offlineNotificationRequested(String from,
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(String from,
String packetID,
MessageEventManager messageEventManager)
MessageEventRequestListener
deliveredNotificationRequested in interface MessageEventRequestListenerfrom - 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(String from,
String packetID,
MessageEventManager messageEventManager)
MessageEventRequestListener
displayedNotificationRequested in interface MessageEventRequestListenerfrom - 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(String from,
String packetID,
MessageEventManager messageEventManager)
MessageEventRequestListener
composingNotificationRequested in interface MessageEventRequestListenerfrom - 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(String from,
String packetID,
MessageEventManager messageEventManager)
MessageEventRequestListener
offlineNotificationRequested in interface MessageEventRequestListenerfrom - 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 | ||||||||