diff --git a/src/org/ice4j/ice/Agent.java b/src/org/ice4j/ice/Agent.java
index 03cf41b..8683eb1 100644
--- a/src/org/ice4j/ice/Agent.java
+++ b/src/org/ice4j/ice/Agent.java
@@ -2512,7 +2512,7 @@ public class Agent
* @return true if the dynamic host harvester should be used and
* false otherwise.
*/
- private boolean useHostHarvester()
+ public boolean useHostHarvester()
{
if (useHostHarvester == null)
{
@@ -2524,4 +2524,14 @@ public class Agent
return useHostHarvester;
}
+
+ /**
+ * Sets the flag which indicates whether the dynamic host harvester will
+ * be used or not by this Agent.
+ * @param useHostHarvester the value to set.
+ */
+ public void setUseHostHarvester(boolean useHostHarvester)
+ {
+ this.useHostHarvester = useHostHarvester;
+ }
}