com.aelitis.azureus.plugins.net.netstatus
Class NetStatusProtocolTesterBT.Session
java.lang.Object
com.aelitis.azureus.plugins.net.netstatus.NetStatusProtocolTesterBT.Session
- Enclosing class:
- NetStatusProtocolTesterBT
public class NetStatusProtocolTesterBT.Session
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetStatusProtocolTesterBT.Session
protected NetStatusProtocolTesterBT.Session(NetworkConnection _connection,
byte[] _info_hash)
isInitiator
public boolean isInitiator()
isConnected
public boolean isConnected()
isSeed
public boolean isSeed()
isOK
public boolean isOK()
connected
protected void connected()
sendHandshake
protected void sendHandshake()
sendHave
protected void sendHave(int piece_number)
sendBitfield
protected void sendBitfield()
close
protected void close()
getProtocolString
public java.lang.String getProtocolString()
addSent
protected java.lang.String addSent(java.lang.String str,
boolean ok)
addRecv
protected java.lang.String addRecv(java.lang.String str,
boolean ok)
getLogPrefix
protected java.lang.String getLogPrefix()
log
protected void log(java.lang.String str)
log
protected void log(java.lang.String str,
boolean is_detailed)
logError
protected void logError(java.lang.String str)
logError
protected void logError(java.lang.String str,
java.lang.Throwable e)