Interface RemoteChordNode

All Known Implementing Classes:
LocalChordNode

public interface RemoteChordNode
Remote interface of a Chord node.
  • Method Details

    • checkAlive

      io.netty.util.concurrent.Future<Void> checkAlive()
      NOOP/ping method used to check if callee is still alive.
    • getPredecessor

      io.netty.util.concurrent.Future<DrasylAddress> getPredecessor()
      Returns the predecessor.
    • getSuccessor

      io.netty.util.concurrent.Future<DrasylAddress> getSuccessor()
      Returns the successor.
    • offerAsPredecessor

      io.netty.util.concurrent.Future<Void> offerAsPredecessor()
      Offers callee to set caller as new predecessor.
    • findClosestFingerPreceding

      io.netty.util.concurrent.Future<DrasylAddress> findClosestFingerPreceding(long id)
      Find the closest finger preceding.

      n.closest_preceding_finger(id)

    • findSuccessor

      io.netty.util.concurrent.Future<DrasylAddress> findSuccessor(long id)
      Find successor for id.

      n.find_successor(id)

    • isStable

      io.netty.util.concurrent.Future<Boolean> isStable()
      Check if node is stable (has successor and predecessor or neither).