Package org.drasyl.handler.discovery
Class AddPathEvent
java.lang.Object
org.drasyl.handler.discovery.AddPathEvent
- All Implemented Interfaces:
PathEvent
Signals that a direct routing path has been discovered to
PathEvent.getAddress().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract InetSocketAddressabstract longgetRtt()inthashCode()static AddPathEventof(DrasylAddress address, InetSocketAddress inetAddress, Object path) static AddPathEventof(DrasylAddress publicKey, InetSocketAddress inetAddress, Object path, long rtt) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drasyl.handler.discovery.PathEvent
getAddress, getPath
-
Constructor Details
-
AddPathEvent
public AddPathEvent()
-
-
Method Details
-
getInetAddress
-
getRtt
public abstract long getRtt() -
hashCode
public int hashCode() -
equals
-
of
public static AddPathEvent of(DrasylAddress publicKey, InetSocketAddress inetAddress, Object path, long rtt) -
of
-