mapa17/Eruliaf — Issue #7: Add update to connection class
Author: mapa17
Created: 2012-02-05 14:05:34+00:00
State: open
Labels: nodes, Todo

Extend the connection class to support a stage 0 call on each iteration.

in an update() method the connection has to

#evaluate the state of the connection ( chocked/unchocked, depending on interest )
#calculate next upload and download bandwidth

There should be some kind of feedback to the peer class to notify about important changes in
connection state. Like leafing peer, or a chock ( which results in a new TFT algo execution )

Up till now connection only returns the last uploadSpeed from the other peer ( Connection.getUploadRate() )
which is set to 0.