Smack

org.jivesoftware.smackx
Interface MessageEventNotificationListener


public interface MessageEventNotificationListener

A listener that is fired anytime a message event notification is received. Message event notifications are received as a consequence of the request to receive notifications when sending a message.

Author:
Gaston Dombiak

Method Summary
 void cancelledNotification(java.lang.String from, java.lang.String packetID)
          Called when a notification that the receiver of the message cancelled the reply is received.
 void composingNotification(java.lang.String from, java.lang.String packetID)
          Called when a notification that the receiver of the message is composing a reply is received.
 void deliveredNotification(java.lang.String from, java.lang.String packetID)
          Called when a notification of message delivered is received.
 void displayedNotification(java.lang.String from, java.lang.String packetID)
          Called when a notification of message displayed is received.
 void offlineNotification(java.lang.String from, java.lang.String packetID)
          Called when a notification that the receiver of the message is offline is received.
 

Method Detail

deliveredNotification

void deliveredNotification(java.lang.String from,
                           java.lang.String packetID)
Called when a notification of message delivered is received.

Parameters:
from - the user that sent the notification.
packetID - the id of the message that was sent.

displayedNotification

void displayedNotification(java.lang.String from,
                           java.lang.String packetID)
Called when a notification of message displayed is received.

Parameters:
from - the user that sent the notification.
packetID - the id of the message that was sent.

composingNotification

void composingNotification(java.lang.String from,
                           java.lang.String packetID)
Called when a notification that the receiver of the message is composing a reply is received.

Parameters:
from - the user that sent the notification.
packetID - the id of the message that was sent.

offlineNotification

void offlineNotification(java.lang.String from,
                         java.lang.String packetID)
Called when a notification that the receiver of the message is offline is received.

Parameters:
from - the user that sent the notification.
packetID - the id of the message that was sent.

cancelledNotification

void cancelledNotification(java.lang.String from,
                           java.lang.String packetID)
Called when a notification that the receiver of the message cancelled the reply is received.

Parameters:
from - the user that sent the notification.
packetID - the id of the message that was sent.

Smack

Copyright © 2003-2007 Jive Software.