From 56f8160af8e89e6981a5f67d23c307dcd1ef0f2a Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Sat, 25 Apr 2015 17:29:07 -0700 Subject: generate javadocs for the Java SDK --- java/src/com/zerotierone/sdk/PeerPhysicalPath.java | 23 +++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'java/src/com/zerotierone/sdk/PeerPhysicalPath.java') diff --git a/java/src/com/zerotierone/sdk/PeerPhysicalPath.java b/java/src/com/zerotierone/sdk/PeerPhysicalPath.java index d7b2fad1..17b0ff8b 100644 --- a/java/src/com/zerotierone/sdk/PeerPhysicalPath.java +++ b/java/src/com/zerotierone/sdk/PeerPhysicalPath.java @@ -29,7 +29,10 @@ package com.zerotierone.sdk; import java.net.InetAddress; -public class PeerPhysicalPath { +/** + * Physical network path to a peer + */ +public final class PeerPhysicalPath { private InetAddress address; private long lastSend; private long lastReceive; @@ -39,26 +42,44 @@ public class PeerPhysicalPath { private PeerPhysicalPath() {} + /** + * Address of endpoint + */ public final InetAddress address() { return address; } + /** + * Time of last send in milliseconds or 0 for never + */ public final long lastSend() { return lastSend; } + /** + * Time of last receive in milliseconds or 0 for never + */ public final long lastReceive() { return lastReceive; } + /** + * Is path fixed? (i.e. not learned, static) + */ public final boolean isFixed() { return fixed; } + /** + * Is path active? + */ public final boolean isActive() { return active; } + /** + * Is path preferred? + */ public final boolean isPreferred() { return preferred; } -- cgit v1.2.3