de.javawi.jstun.test
Class BindingLifetimeTest
java.lang.Object
de.javawi.jstun.test.BindingLifetimeTest
public class BindingLifetimeTest
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BindingLifetimeTest
public BindingLifetimeTest(String stunServer,
int port)
test
public void test()
throws UtilityException,
SocketException,
UnknownHostException,
IOException,
MessageAttributeParsingException,
MessageAttributeException,
MessageHeaderParsingException
- Throws:
UtilityException
SocketException
UnknownHostException
IOException
MessageAttributeParsingException
MessageAttributeException
MessageHeaderParsingException
getLifetime
public int getLifetime()
isCompleted
public boolean isCompleted()
setUpperBinarySearchLifetime
public void setUpperBinarySearchLifetime(int upperBinarySearchLifetime)