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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract InetSocketAddressabstract longgetRtt()static PathRttEventof(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, waitMethods 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)
-