org.gudy.azureus2.core3.ipchecker.natchecker
Class NatChecker

java.lang.Object
  extended by org.gudy.azureus2.core3.ipchecker.natchecker.NatChecker

public class NatChecker
extends Object

Author:
Olivier

Field Summary
static int NAT_KO
           
static int NAT_OK
           
static int NAT_UNABLE
           
 
Constructor Summary
NatChecker(AzureusCore azureus_core, InetAddress bind_ip, int port, boolean http_test)
           
 
Method Summary
 String getAdditionalInfo()
           
 InetAddress getExternalAddress()
           
 int getResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAT_OK

public static final int NAT_OK
See Also:
Constant Field Values

NAT_KO

public static final int NAT_KO
See Also:
Constant Field Values

NAT_UNABLE

public static final int NAT_UNABLE
See Also:
Constant Field Values
Constructor Detail

NatChecker

public NatChecker(AzureusCore azureus_core,
                  InetAddress bind_ip,
                  int port,
                  boolean http_test)
Method Detail

getResult

public int getResult()

getExternalAddress

public InetAddress getExternalAddress()

getAdditionalInfo

public String getAdditionalInfo()