org.jivesoftware.smack
Class PrivacyClient
java.lang.Object
org.jivesoftware.smack.PrivacyClient
- All Implemented Interfaces:
- PrivacyListListener
public class PrivacyClient
- extends java.lang.Object
- implements PrivacyListListener
This class supports automated tests about privacy communication from the
server to the client.
- Author:
- Francisco Vives
|
Method Summary |
void |
setPrivacyList(java.lang.String listName,
java.util.List listItem)
Set or update a privacy list with PrivacyItem. |
void |
updatedPrivacyList(java.lang.String listName)
A privacy list has been modified by another. |
boolean |
wasModified()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrivacyClient
public PrivacyClient(PrivacyListManager manager)
setPrivacyList
public void setPrivacyList(java.lang.String listName,
java.util.List 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()