Package org.drasyl.handler.discovery
Class PathRttEvent
java.lang.Object
org.drasyl.handler.discovery.PathRttEvent
- All Implemented Interfaces:
PathEvent
Signals that a new RTT measurement for a routing path has been performed to
PathEvent.getAddress()
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract InetSocketAddress
abstract long
getRtt()
static PathRttEvent
of
(DrasylAddress publicKey, InetSocketAddress inetAddress, Object path, long rtt) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.drasyl.handler.discovery.PathEvent
getAddress, getPath
-
Constructor Details
-
PathRttEvent
public PathRttEvent()
-
-
Method Details
-
getInetAddress
-
getRtt
public abstract long getRtt() -
of
public static PathRttEvent of(DrasylAddress publicKey, InetSocketAddress inetAddress, Object path, long rtt)
-