Adds setStunStack setter method in Agent class. Patch by Aakash Garg.

This commit is contained in:
paweldomas 2014-08-21 16:03:21 +00:00
parent 97f2938200
commit f16e86d1a6

View File

@ -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 <tt>StunStack</tt> used by this <tt>Agent</tt>.
*
* @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.