javadoc
This commit is contained in:
@ -39,6 +39,7 @@ public class RouterAddress extends DataStructureImpl {
|
|||||||
* contacting this router. The value 0 means free and 255 means really expensive.
|
* contacting this router. The value 0 means free and 255 means really expensive.
|
||||||
* No value above 255 is allowed.
|
* No value above 255 is allowed.
|
||||||
*
|
*
|
||||||
|
* @deprecated unused for now
|
||||||
*/
|
*/
|
||||||
public int getCost() {
|
public int getCost() {
|
||||||
return _cost;
|
return _cost;
|
||||||
@ -48,6 +49,7 @@ public class RouterAddress extends DataStructureImpl {
|
|||||||
* Configure the weighted cost of using the address.
|
* Configure the weighted cost of using the address.
|
||||||
* No value above 255 is allowed.
|
* No value above 255 is allowed.
|
||||||
*
|
*
|
||||||
|
* NTCP is set to 10 and SSU to 5, but it's unused.
|
||||||
*/
|
*/
|
||||||
public void setCost(int cost) {
|
public void setCost(int cost) {
|
||||||
_cost = cost;
|
_cost = cost;
|
||||||
@ -57,6 +59,7 @@ public class RouterAddress extends DataStructureImpl {
|
|||||||
* Retrieve the date after which the address should not be used. If this
|
* Retrieve the date after which the address should not be used. If this
|
||||||
* is null, then the address never expires.
|
* is null, then the address never expires.
|
||||||
*
|
*
|
||||||
|
* @deprecated unused for now
|
||||||
*/
|
*/
|
||||||
public Date getExpiration() {
|
public Date getExpiration() {
|
||||||
return _expiration;
|
return _expiration;
|
||||||
@ -65,6 +68,7 @@ public class RouterAddress extends DataStructureImpl {
|
|||||||
/**
|
/**
|
||||||
* Configure the expiration date of the address (null for no expiration)
|
* Configure the expiration date of the address (null for no expiration)
|
||||||
*
|
*
|
||||||
|
* Unused for now, always null
|
||||||
*/
|
*/
|
||||||
public void setExpiration(Date expiration) {
|
public void setExpiration(Date expiration) {
|
||||||
_expiration = expiration;
|
_expiration = expiration;
|
||||||
|
Reference in New Issue
Block a user