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 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 String getProtocolString()
addSent
protected String addSent(String str,
boolean ok)
addRecv
protected String addRecv(String str,
boolean ok)
getLogPrefix
protected String getLogPrefix()
log
protected void log(String str)
log
protected void log(String str,
boolean is_detailed)
logError
protected void logError(String str)
logError
protected void logError(String str,
Throwable e)