mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-07 13:31:45 -07:00
finished the JNI implementation of the status() method on Node
Signed-off-by: Grant Limberg <glimberg@gmail.com>
This commit is contained in:
parent
1a528aec76
commit
fa9d42b7e5
2 changed files with 67 additions and 8 deletions
|
@ -31,21 +31,23 @@ public class NodeStatus {
|
|||
private long address;
|
||||
private String publicIdentity;
|
||||
private String secretIdentity;
|
||||
private int online;
|
||||
private boolean online;
|
||||
|
||||
public long getAddres() {
|
||||
private NodeStatus() {}
|
||||
|
||||
public final long getAddres() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public String getPublicIdentity() {
|
||||
public final String getPublicIdentity() {
|
||||
return publicIdentity;
|
||||
}
|
||||
|
||||
public String getSecretIdentity() {
|
||||
public final String getSecretIdentity() {
|
||||
return secretIdentity;
|
||||
}
|
||||
|
||||
public boolean isOnline() {
|
||||
return online != 0;
|
||||
public final boolean isOnline() {
|
||||
return online;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue