Package org.drasyl.handler.dht.chord
Class ChordLookup
java.lang.Object
org.drasyl.handler.dht.chord.ChordLookup
Triggers a lookup in the Chord circle to find the closest node for given
id
.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
abstract DrasylAddress
abstract long
getId()
static ChordLookup
of
(DrasylAddress contact, long id) static ChordLookup
of
(DrasylAddress contact, long id, boolean doStableCheck)
-
Field Details
-
MAX_ID
public static final long MAX_ID
-
-
Constructor Details
-
ChordLookup
public ChordLookup()
-
-
Method Details
-
getContact
-
getId
public abstract long getId() -
doStableCheck
public abstract boolean doStableCheck() -
of
-
of
-