mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-26 22:27:58 +01:00
Javadoc fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2086 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
62211a89d0
commit
ab73164b38
3 changed files with 29 additions and 72 deletions
|
@ -63,60 +63,25 @@ package org.jivesoftware.smackx;
|
|||
*/
|
||||
public class DefaultMessageEventRequestListener implements MessageEventRequestListener {
|
||||
|
||||
/**
|
||||
* Called when a request of message delivered notification is received. The default
|
||||
* behavior is to automatically respond that the message has been delivered.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param messageEventManager the messageEventManager that fired the listener.
|
||||
*/
|
||||
public void deliveredNotificationRequested(
|
||||
String from,
|
||||
String packetID,
|
||||
MessageEventManager messageEventManager) {
|
||||
public void deliveredNotificationRequested(String from, String packetID,
|
||||
MessageEventManager messageEventManager)
|
||||
{
|
||||
// Send to the message's sender that the message has been delivered
|
||||
messageEventManager.sendDeliveredNotification(from, packetID);
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when a request of message displayed notification is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param messageEventManager the messageEventManager that fired the listener.
|
||||
*/
|
||||
public void displayedNotificationRequested(
|
||||
String from,
|
||||
String packetID,
|
||||
MessageEventManager messageEventManager) {
|
||||
public void displayedNotificationRequested(String from, String packetID,
|
||||
MessageEventManager messageEventManager)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when a request that the receiver of the message is composing a reply notification is
|
||||
* received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param messageEventManager the messageEventManager that fired the listener.
|
||||
*/
|
||||
public void composingNotificationRequested(
|
||||
String from,
|
||||
String packetID,
|
||||
MessageEventManager messageEventManager) {
|
||||
public void composingNotificationRequested(String from, String packetID,
|
||||
MessageEventManager messageEventManager)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when a request that the receiver of the message is offline is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param messageEventManager the messageEventManager that fired the listener.
|
||||
*/
|
||||
public void offlineNotificationRequested(
|
||||
String from,
|
||||
String packetID,
|
||||
MessageEventManager messageEventManager) {
|
||||
public void offlineNotificationRequested(String from, String packetID,
|
||||
MessageEventManager messageEventManager)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ public interface MessageEventNotificationListener {
|
|||
* Called when a notification of message delivered is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
*/
|
||||
public void deliveredNotification(String from, String packetID);
|
||||
|
||||
|
@ -74,7 +74,7 @@ public interface MessageEventNotificationListener {
|
|||
* Called when a notification of message displayed is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
*/
|
||||
public void displayedNotification(String from, String packetID);
|
||||
|
||||
|
@ -83,7 +83,7 @@ public interface MessageEventNotificationListener {
|
|||
* received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
*/
|
||||
public void composingNotification(String from, String packetID);
|
||||
|
||||
|
@ -91,7 +91,7 @@ public interface MessageEventNotificationListener {
|
|||
* Called when a notification that the receiver of the message is offline is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
*/
|
||||
public void offlineNotification(String from, String packetID);
|
||||
|
||||
|
@ -100,7 +100,7 @@ public interface MessageEventNotificationListener {
|
|||
* is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
*/
|
||||
public void cancelledNotification(String from, String packetID);
|
||||
}
|
||||
|
|
|
@ -78,49 +78,41 @@ public interface MessageEventRequestListener {
|
|||
* Called when a request for message delivered notification is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
* @param messageEventManager the messageEventManager that fired the listener.
|
||||
*/
|
||||
public void deliveredNotificationRequested(
|
||||
String from,
|
||||
String packetID,
|
||||
MessageEventManager messageEventManager);
|
||||
public void deliveredNotificationRequested(String from, String packetID,
|
||||
MessageEventManager messageEventManager);
|
||||
|
||||
/**
|
||||
* Called when a request for message displayed notification is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
* @param messageEventManager the messageEventManager that fired the listener.
|
||||
*/
|
||||
public void displayedNotificationRequested(
|
||||
String from,
|
||||
String packetID,
|
||||
MessageEventManager messageEventManager);
|
||||
public void displayedNotificationRequested(String from, String packetID,
|
||||
MessageEventManager messageEventManager);
|
||||
|
||||
/**
|
||||
* Called when a request that the receiver of the message is composing a reply notification is
|
||||
* received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
* @param messageEventManager the messageEventManager that fired the listener.
|
||||
*/
|
||||
public void composingNotificationRequested(
|
||||
String from,
|
||||
String packetID,
|
||||
MessageEventManager messageEventManager);
|
||||
public void composingNotificationRequested(String from, String packetID,
|
||||
MessageEventManager messageEventManager);
|
||||
|
||||
/**
|
||||
* Called when a request that the receiver of the message is offline is received.
|
||||
*
|
||||
* @param from the user that sent the notification.
|
||||
* @param packetId the id of the message that was sent.
|
||||
* @param packetID the id of the message that was sent.
|
||||
* @param messageEventManager the messageEventManager that fired the listener.
|
||||
*/
|
||||
public void offlineNotificationRequested(
|
||||
String from,
|
||||
String packetID,
|
||||
MessageEventManager messageEventManager);
|
||||
public void offlineNotificationRequested(String from, String packetID,
|
||||
MessageEventManager messageEventManager);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue