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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract InetSocketAddress
abstract long
getRtt()
int
hashCode()
static AddPathEvent
of
(DrasylAddress address, InetSocketAddress inetAddress, Object path) static AddPathEvent
of
(DrasylAddress publicKey, InetSocketAddress inetAddress, Object path, long rtt) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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
-