Package org.drasyl.handler.discovery
Class AddPathAndChildrenEvent
java.lang.Object
org.drasyl.handler.discovery.AddPathAndChildrenEvent
- All Implemented Interfaces:
PathEvent
Signals that a direct routing path has been discovered to
PathEvent.getAddress()
and that this peer is registered at us as a children.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract InetSocketAddress
static AddPathAndChildrenEvent
of
(DrasylAddress address, InetSocketAddress inetAddress, Object path) 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
-
AddPathAndChildrenEvent
public AddPathAndChildrenEvent()
-
-
Method Details
-
getInetAddress
-
of
public static AddPathAndChildrenEvent of(DrasylAddress address, InetSocketAddress inetAddress, Object path)
-