org.jivesoftware.smack.packet
Class PrivacyTest.PrivacyClient

java.lang.Object
  extended by 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

Constructor Summary
PrivacyTest.PrivacyClient(PrivacyListManager manager)
           
 
Method Summary
 void setPrivacyList(java.lang.String listName, java.util.List<PrivacyItem> 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
 

Constructor Detail

PrivacyTest.PrivacyClient

public PrivacyTest.PrivacyClient(PrivacyListManager manager)
Method Detail

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()