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 Object


Constructor Summary
protected NetStatusProtocolTesterBT.Session(NetworkConnection _connection, byte[] _info_hash)
           
 
Method Summary
protected  String addRecv(String str, boolean ok)
           
protected  String addSent(String str, boolean ok)
           
protected  void close()
           
protected  void connected()
           
protected  String getLogPrefix()
           
 String getProtocolString()
           
 boolean isConnected()
           
 boolean isInitiator()
           
 boolean isOK()
           
 boolean isSeed()
           
protected  void log(String str)
           
protected  void log(String str, boolean is_detailed)
           
protected  void logError(String str)
           
protected  void logError(String str, 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 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)