Methods Summary |
---|
protected int | getSessionType() return session_type;
|
protected java.lang.String | getStatsTrace()
String n = peer.getManager().getDisplayName();
String t = session_type == TYPE_DOWNLOAD ? "DOWNLOADING" : "SEEDING";
String p = " : [" +peer.getClient()+ "] " +peer.getIp()+ " :" +peer.getPort();
String s = " || (D: " +DisplayFormatters.formatByteCountToKiBEtcPerSec( peer.getStats().getDataReceiveRate() )+
") (U: " +DisplayFormatters.formatByteCountToKiBEtcPerSec( peer.getStats().getDataSendRate() )+ ")";
return "[" +n+ "] " + t + p + s;
|
protected boolean | isSameSession(com.aelitis.azureus.core.peermanager.uploadslots.UploadSession session)
if( session == null ) return false;
return this.peer == session.peer;
|
protected void | start()
UnchokerUtil.performChokeUnchoke( null, peer );
|
protected void | stop()
UnchokerUtil.performChokeUnchoke( peer, null );
|