Package org.drasyl.handler.discovery
Class AddPathAndChildrenEvent
- java.lang.Object
-
- org.drasyl.handler.discovery.AddPathAndChildrenEvent
-
- All Implemented Interfaces:
PathEvent
public abstract class AddPathAndChildrenEvent extends Object implements PathEvent
Signals that a direct routing path has been discovered toPathEvent.getAddress()
and that this peer is registered at us as a children.
-
-
Constructor Summary
Constructors Constructor Description AddPathAndChildrenEvent()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract InetSocketAddress
getInetAddress()
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
-
-
-
-
Method Detail
-
getInetAddress
@Nullable public abstract InetSocketAddress getInetAddress()
-
of
public static AddPathAndChildrenEvent of(DrasylAddress address, InetSocketAddress inetAddress, Object path)
-
-