* Transport: Adjust bids based on address cost

- More finals
This commit is contained in:
zzz
2010-02-13 15:16:12 +00:00
parent 4f70a7d0fe
commit 2700028da7
3 changed files with 65 additions and 54 deletions

View File

@ -39,7 +39,7 @@ public class RouterAddress extends DataStructureImpl {
* contacting this router. The value 0 means free and 255 means really expensive.
* No value above 255 is allowed.
*
* @deprecated unused for now
* Unused before 0.7.12
*/
public int getCost() {
return _cost;
@ -49,7 +49,7 @@ public class RouterAddress extends DataStructureImpl {
* Configure the weighted cost of using the address.
* No value above 255 is allowed.
*
* NTCP is set to 10 and SSU to 5, but it's unused.
* NTCP is set to 10 and SSU to 5 by default, unused before 0.7.12
*/
public void setCost(int cost) {
_cost = cost;