Smack

org.jivesoftware.smack
Interface PrivacyListListener


public interface PrivacyListListener

Interface to implement classes to listen for server events about privacy communication. Listeners are registered with the PrivacyListManager.

Author:
Francisco Vives
See Also:
PrivacyListManager.addListener(org.jivesoftware.smack.PrivacyListListener)

Method Summary
 void setPrivacyList(String listName, List<PrivacyItem> listItem)
          Set or update a privacy list with PrivacyItem.
 void updatedPrivacyList(String listName)
          A privacy list has been modified by another.
 

Method Detail

setPrivacyList

void setPrivacyList(String listName,
                    List<PrivacyItem> listItem)
Set or update a privacy list with PrivacyItem.

Parameters:
listName - the name of the new or updated privacy list.
listItem - the PrivacyItems that rules the list.

updatedPrivacyList

void updatedPrivacyList(String listName)
A privacy list has been modified by another. It gets notified.

Parameters:
listName - the name of the updated privacy list.

Smack

Copyright © 2003-2007 Jive Software.