com.aelitis.azureus.plugins.net.netstatus
Class NetStatusProtocolTesterBT
java.lang.Object
com.aelitis.azureus.plugins.net.netstatus.NetStatusProtocolTesterBT
public class NetStatusProtocolTesterBT
- extends java.lang.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(java.net.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 java.lang.String getStatus()
log
protected void log(java.lang.String str)
log
protected void log(java.lang.String str,
boolean detailed)
logError
protected void logError(java.lang.String str)
logError
protected void logError(java.lang.String str,
java.lang.Throwable e)