diff --git a/src/org/ice4j/ice/Agent.java b/src/org/ice4j/ice/Agent.java index 9d48fd7..9058680 100644 --- a/src/org/ice4j/ice/Agent.java +++ b/src/org/ice4j/ice/Agent.java @@ -38,6 +38,7 @@ import org.ice4j.stack.*; * @author Emil Ivov * @author Lyubomir Marinov * @author Sebastien Vincent + * @author Aakash Garg */ public class Agent { @@ -1019,6 +1020,17 @@ public class Agent stunStack = new StunStack(); return stunStack; } + + /** + * Sets the StunStack used by this Agent. + * + * @param stunStack the stunStack to be used by this Agent. + * + */ + public void setStunStack(StunStack stunStack) + { + this.stunStack = stunStack; + } /** * Returns the number of {@link CheckList}s that are currently active.