1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 08:12:05 +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:
Matt Tucker 2003-09-17 22:21:45 +00:00 committed by mtucker
parent 62211a89d0
commit ab73164b38
3 changed files with 29 additions and 72 deletions

View file

@ -63,60 +63,25 @@ package org.jivesoftware.smackx;
*/ */
public class DefaultMessageEventRequestListener implements MessageEventRequestListener { public class DefaultMessageEventRequestListener implements MessageEventRequestListener {
/** public void deliveredNotificationRequested(String from, String packetID,
* Called when a request of message delivered notification is received. The default MessageEventManager messageEventManager)
* 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) {
// Send to the message's sender that the message has been delivered // Send to the message's sender that the message has been delivered
messageEventManager.sendDeliveredNotification(from, packetID); messageEventManager.sendDeliveredNotification(from, packetID);
} }
/** public void displayedNotificationRequested(String from, String packetID,
* Called when a request of message displayed notification is received. MessageEventManager messageEventManager)
* {
* @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 composingNotificationRequested(String from, String packetID,
* Called when a request that the receiver of the message is composing a reply notification is MessageEventManager messageEventManager)
* 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 offlineNotificationRequested(String from, String packetID,
* Called when a request that the receiver of the message is offline is received. MessageEventManager messageEventManager)
* {
* @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) {
} }
} }

View file

@ -66,7 +66,7 @@ public interface MessageEventNotificationListener {
* Called when a notification of message delivered is received. * Called when a notification of message delivered is received.
* *
* @param from the user that sent the notification. * @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); public void deliveredNotification(String from, String packetID);
@ -74,7 +74,7 @@ public interface MessageEventNotificationListener {
* Called when a notification of message displayed is received. * Called when a notification of message displayed is received.
* *
* @param from the user that sent the notification. * @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); public void displayedNotification(String from, String packetID);
@ -83,7 +83,7 @@ public interface MessageEventNotificationListener {
* received. * received.
* *
* @param from the user that sent the notification. * @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); 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. * Called when a notification that the receiver of the message is offline is received.
* *
* @param from the user that sent the notification. * @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); public void offlineNotification(String from, String packetID);
@ -100,7 +100,7 @@ public interface MessageEventNotificationListener {
* is received. * is received.
* *
* @param from the user that sent the notification. * @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); public void cancelledNotification(String from, String packetID);
} }

View file

@ -78,49 +78,41 @@ public interface MessageEventRequestListener {
* Called when a request for message delivered notification is received. * Called when a request for message delivered notification is received.
* *
* @param from the user that sent the notification. * @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. * @param messageEventManager the messageEventManager that fired the listener.
*/ */
public void deliveredNotificationRequested( public void deliveredNotificationRequested(String from, String packetID,
String from, MessageEventManager messageEventManager);
String packetID,
MessageEventManager messageEventManager);
/** /**
* Called when a request for message displayed notification is received. * Called when a request for message displayed notification is received.
* *
* @param from the user that sent the notification. * @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. * @param messageEventManager the messageEventManager that fired the listener.
*/ */
public void displayedNotificationRequested( public void displayedNotificationRequested(String from, String packetID,
String from, MessageEventManager messageEventManager);
String packetID,
MessageEventManager messageEventManager);
/** /**
* Called when a request that the receiver of the message is composing a reply notification is * Called when a request that the receiver of the message is composing a reply notification is
* received. * received.
* *
* @param from the user that sent the notification. * @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. * @param messageEventManager the messageEventManager that fired the listener.
*/ */
public void composingNotificationRequested( public void composingNotificationRequested(String from, String packetID,
String from, MessageEventManager messageEventManager);
String packetID,
MessageEventManager messageEventManager);
/** /**
* Called when a request that the receiver of the message is offline is received. * Called when a request that the receiver of the message is offline is received.
* *
* @param from the user that sent the notification. * @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. * @param messageEventManager the messageEventManager that fired the listener.
*/ */
public void offlineNotificationRequested( public void offlineNotificationRequested(String from, String packetID,
String from, MessageEventManager messageEventManager);
String packetID,
MessageEventManager messageEventManager);
} }