Package de.javawi.jstun.test
Class BindingLifetimeTest
- java.lang.Object
-
- de.javawi.jstun.test.BindingLifetimeTest
-
public class BindingLifetimeTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BindingLifetimeTest(java.lang.String stunServer, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLifetime()
boolean
isCompleted()
void
setUpperBinarySearchLifetime(int upperBinarySearchLifetime)
void
test()
-
-
-
Method Detail
-
test
public void test() throws UtilityException, java.net.SocketException, java.net.UnknownHostException, java.io.IOException, MessageAttributeParsingException, MessageAttributeException, MessageHeaderParsingException
- Throws:
UtilityException
java.net.SocketException
java.net.UnknownHostException
java.io.IOException
MessageAttributeParsingException
MessageAttributeException
MessageHeaderParsingException
-
getLifetime
public int getLifetime()
-
isCompleted
public boolean isCompleted()
-
setUpperBinarySearchLifetime
public void setUpperBinarySearchLifetime(int upperBinarySearchLifetime)
-
-