com.sun.im.service
Interface PresenceSessionListener

All Superinterfaces:
CollaborationSessionListener

public interface PresenceSessionListener
extends CollaborationSessionListener

Callback object allowing the iCAPI implementation to invoke the application when a presence notification needs to be relayed to the user.


Method Summary
 void onPresenceNotify(java.lang.String presentityURL, java.lang.String presenceInfo, java.util.Date expires)
          invoked when a presence notification is received
 
Methods inherited from interface com.sun.im.service.CollaborationSessionListener
onError
 

Method Detail

onPresenceNotify

public void onPresenceNotify(java.lang.String presentityURL,
                             java.lang.String presenceInfo,
                             java.util.Date expires)
invoked when a presence notification is received

Parameters:
presenceInfo - XML presence document.
presentityURL - subscribed presentity
expires - expiration date of the subscription