com.aelitis.azureus.plugins.net.netstatus.swt
Class NetStatusPluginTester

java.lang.Object
  extended by com.aelitis.azureus.plugins.net.netstatus.swt.NetStatusPluginTester

public class NetStatusPluginTester
extends java.lang.Object


Nested Class Summary
static interface NetStatusPluginTester.loggerProvider
           
 
Field Summary
static int TEST_BT_CONNECT
           
static int TEST_INBOUND
           
static int TEST_IPV6
           
static int TEST_NAT_PROXIES
           
static int TEST_OUTBOUND
           
static int TEST_PROXY_CONNECT
           
static int TEST_VUZE_SERVICES
           
 
Constructor Summary
NetStatusPluginTester(NetStatusPlugin _plugin, int _test_types, NetStatusPluginTester.loggerProvider _logger)
           
 
Method Summary
protected  void addPublicAddress(java.util.Set<java.net.InetAddress> addresses, java.net.InetAddress address)
           
 void cancel()
           
protected  boolean doTest(int type)
           
 boolean isCancelled()
           
protected  void log(java.lang.String str)
           
protected  void log(java.lang.String str, boolean detailed)
           
protected  void log(java.lang.String str, java.lang.Throwable e)
           
protected  void logError(java.lang.String str)
           
protected  void logError(java.lang.String str, java.lang.Throwable e)
           
protected  void logInfo(java.lang.String str)
           
protected  void logSuccess(java.lang.String str)
           
 void run(AzureusCore core)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEST_NAT_PROXIES

public static final int TEST_NAT_PROXIES
See Also:
Constant Field Values

TEST_OUTBOUND

public static final int TEST_OUTBOUND
See Also:
Constant Field Values

TEST_INBOUND

public static final int TEST_INBOUND
See Also:
Constant Field Values

TEST_BT_CONNECT

public static final int TEST_BT_CONNECT
See Also:
Constant Field Values

TEST_IPV6

public static final int TEST_IPV6
See Also:
Constant Field Values

TEST_VUZE_SERVICES

public static final int TEST_VUZE_SERVICES
See Also:
Constant Field Values

TEST_PROXY_CONNECT

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

NetStatusPluginTester

public NetStatusPluginTester(NetStatusPlugin _plugin,
                             int _test_types,
                             NetStatusPluginTester.loggerProvider _logger)
Method Detail

doTest

protected boolean doTest(int type)

run

public void run(AzureusCore core)

addPublicAddress

protected void addPublicAddress(java.util.Set<java.net.InetAddress> addresses,
                                java.net.InetAddress address)

cancel

public void cancel()

isCancelled

public boolean isCancelled()

log

protected void log(java.lang.String str)

log

protected void log(java.lang.String str,
                   boolean detailed)

logSuccess

protected void logSuccess(java.lang.String str)

logInfo

protected void logInfo(java.lang.String str)

log

protected void log(java.lang.String str,
                   java.lang.Throwable e)

logError

protected void logError(java.lang.String str)

logError

protected void logError(java.lang.String str,
                        java.lang.Throwable e)