com.aelitis.azureus.plugins.net.netstatus
Class NetStatusProtocolTesterBT
java.lang.Object
com.aelitis.azureus.plugins.net.netstatus.NetStatusProtocolTesterBT
public class NetStatusProtocolTesterBT
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetStatusProtocolTesterBT
protected NetStatusProtocolTesterBT(NetStatusProtocolTester _tester,
boolean _test_initiator)
start
protected void start()
getServerHash
protected byte[] getServerHash()
getStartTime
protected long getStartTime(long now)
testOutbound
protected void testOutbound(InetSocketAddress address,
byte[] their_hash,
boolean use_crypto)
destroy
public void destroy()
isDestroyed
protected boolean isDestroyed()
setOutboundConnectionsComplete
public void setOutboundConnectionsComplete()
checkCompletion
protected void checkCompletion()
waitForCompletion
public boolean waitForCompletion(long max_millis)
addListener
public void addListener(NetStatusProtocolTesterListener l)
removeListener
public void removeListener(NetStatusProtocolTesterListener l)
getOutboundConnects
public int getOutboundConnects()
getInboundConnects
public int getInboundConnects()
getStatus
public String getStatus()
log
protected void log(String str)
log
protected void log(String str,
boolean detailed)
logError
protected void logError(String str)
logError
protected void logError(String str,
Throwable e)