diff options
author | Grant Limberg <glimberg@gmail.com> | 2015-04-25 17:29:07 -0700 |
---|---|---|
committer | Grant Limberg <glimberg@gmail.com> | 2015-04-25 17:29:07 -0700 |
commit | 56f8160af8e89e6981a5f67d23c307dcd1ef0f2a (patch) | |
tree | c70de0772d6d76bdbcc01eb2b88c104cb68f918d /java/src/com/zerotierone/sdk/NodeStatus.java | |
parent | 0d4283a3fa5b08bd730f26ab7680fd5680ad03b3 (diff) | |
download | infinitytier-56f8160af8e89e6981a5f67d23c307dcd1ef0f2a.tar.gz infinitytier-56f8160af8e89e6981a5f67d23c307dcd1ef0f2a.zip |
generate javadocs for the Java SDK
Diffstat (limited to 'java/src/com/zerotierone/sdk/NodeStatus.java')
-rw-r--r-- | java/src/com/zerotierone/sdk/NodeStatus.java | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/java/src/com/zerotierone/sdk/NodeStatus.java b/java/src/com/zerotierone/sdk/NodeStatus.java index fdf5284e..163e3056 100644 --- a/java/src/com/zerotierone/sdk/NodeStatus.java +++ b/java/src/com/zerotierone/sdk/NodeStatus.java @@ -27,7 +27,7 @@ package com.zerotierone.sdk; -public class NodeStatus { +public final class NodeStatus { private long address; private String publicIdentity; private String secretIdentity; @@ -35,18 +35,34 @@ public class NodeStatus { private NodeStatus() {} + /** + * 40-bit ZeroTier address of this node + */ public final long getAddres() { return address; } + /** + * Public identity in string-serialized form (safe to send to others) + * + * <p>This identity will remain valid as long as the node exists.</p> + */ public final String getPublicIdentity() { return publicIdentity; } + /** + * Full identity including secret key in string-serialized form + * + * <p>This identity will remain valid as long as the node exists.</p> + */ public final String getSecretIdentity() { return secretIdentity; } + /** + * True if some kind of connectivity appears available + */ public final boolean isOnline() { return online; } |