com.aelitis.azureus.plugins.net.netstatus
Class NetStatusProtocolTesterBT.Session

java.lang.Object
  extended by com.aelitis.azureus.plugins.net.netstatus.NetStatusProtocolTesterBT.Session
Enclosing class:
NetStatusProtocolTesterBT

public class NetStatusProtocolTesterBT.Session
extends java.lang.Object


Constructor Summary
protected NetStatusProtocolTesterBT.Session(NetworkConnection _connection, byte[] _info_hash)
           
 
Method Summary
protected  java.lang.String addRecv(java.lang.String str, boolean ok)
           
protected  java.lang.String addSent(java.lang.String str, boolean ok)
           
protected  void close()
           
protected  void connected()
           
protected  java.lang.String getLogPrefix()
           
 java.lang.String getProtocolString()
           
 boolean isConnected()
           
 boolean isInitiator()
           
 boolean isOK()
           
 boolean isSeed()
           
protected  void log(java.lang.String str)
           
protected  void log(java.lang.String str, boolean is_detailed)
           
protected  void logError(java.lang.String str)
           
protected  void logError(java.lang.String str, java.lang.Throwable e)
           
protected  void sendBitfield()
           
protected  void sendHandshake()
           
protected  void sendHave(int piece_number)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetStatusProtocolTesterBT.Session

protected NetStatusProtocolTesterBT.Session(NetworkConnection _connection,
                                            byte[] _info_hash)
Method Detail

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)