org.jivesoftware.smack.packet
Class PrivacyTest.PrivacyClient
java.lang.Object
org.jivesoftware.smack.packet.PrivacyTest.PrivacyClient
- All Implemented Interfaces:
- PrivacyListListener
- Enclosing class:
- PrivacyTest
public class PrivacyTest.PrivacyClient
- extends java.lang.Object
- implements PrivacyListListener
This class supports automated tests about privacy communication from the
server to the client.
- Author:
- Francisco Vives
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrivacyTest.PrivacyClient
public PrivacyTest.PrivacyClient(PrivacyListManager manager)
setPrivacyList
public void setPrivacyList(java.lang.String listName,
java.util.List<PrivacyItem> listItem)
- Description copied from interface:
PrivacyListListener
- Set or update a privacy list with PrivacyItem.
- Specified by:
setPrivacyList in interface PrivacyListListener
- Parameters:
listName - the name of the new or updated privacy list.listItem - the PrivacyItems that rules the list.
updatedPrivacyList
public void updatedPrivacyList(java.lang.String listName)
- Description copied from interface:
PrivacyListListener
- A privacy list has been modified by another. It gets notified.
- Specified by:
updatedPrivacyList in interface PrivacyListListener
- Parameters:
listName - the name of the updated privacy list.
wasModified
public boolean wasModified()