de.javawi.jstun.test
Class BindingLifetimeTest

java.lang.Object
  extended by de.javawi.jstun.test.BindingLifetimeTest

public class BindingLifetimeTest
extends Object


Constructor Summary
BindingLifetimeTest(String stunServer, int port)
           
 
Method Summary
 int getLifetime()
           
 boolean isCompleted()
           
 void setUpperBinarySearchLifetime(int upperBinarySearchLifetime)
           
 void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingLifetimeTest

public BindingLifetimeTest(String stunServer,
                           int port)
Method Detail

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)