Package org.drasyl.handler.discovery
Class AddPathAndSuperPeerEvent
java.lang.Object
org.drasyl.handler.discovery.AddPathAndSuperPeerEvent
- All Implemented Interfaces:
PathEvent
Signals that a direct routing path has been discovered to
PathEvent.getAddress()
and that we are registered as a children as this peer.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract InetSocketAddress
abstract long
getRtt()
int
hashCode()
static AddPathAndSuperPeerEvent
of
(DrasylAddress address, 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
-
AddPathAndSuperPeerEvent
public AddPathAndSuperPeerEvent()
-
-
Method Details
-
getInetAddress
-
getRtt
public abstract long getRtt() -
hashCode
public int hashCode() -
equals
-
of
public static AddPathAndSuperPeerEvent of(DrasylAddress address, InetSocketAddress inetAddress, Object path, long rtt)
-