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 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(Set<InetAddress> addresses, InetAddress address)
           
 void cancel()
           
protected  boolean doTest(int type)
           
 boolean isCancelled()
           
protected  void log(String str)
           
protected  void log(String str, boolean detailed)
           
protected  void log(String str, Throwable e)
           
protected  void logError(String str)
           
protected  void logError(String str, Throwable e)
           
protected  void logInfo(String str)
           
protected  void logSuccess(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(Set<InetAddress> addresses,
                                InetAddress address)

cancel

public void cancel()

isCancelled

public boolean isCancelled()

log

protected void log(String str)

log

protected void log(String str,
                   boolean detailed)

logSuccess

protected void logSuccess(String str)

logInfo

protected void logInfo(String str)

log

protected void log(String str,
                   Throwable e)

logError

protected void logError(String str)

logError

protected void logError(String str,
                        Throwable e)