I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 794db19b authored by zzz's avatar zzz
Browse files

javadoc

parent d4637818
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ public class RouterAddress extends DataStructureImpl { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment