Class ChordLookup

java.lang.Object
org.drasyl.handler.dht.chord.ChordLookup

public abstract class ChordLookup extends Object
Triggers a lookup in the Chord circle to find the closest node for given id.
See Also:
  • Field Details

    • MAX_ID

      public static final long MAX_ID
  • Constructor Details

    • ChordLookup

      public ChordLookup()
  • Method Details

    • getContact

      public abstract DrasylAddress getContact()
    • getId

      public abstract long getId()
    • doStableCheck

      public abstract boolean doStableCheck()
    • of

      public static ChordLookup of(DrasylAddress contact, long id, boolean doStableCheck)
    • of

      public static ChordLookup of(DrasylAddress contact, long id)