Interface DHTNetworkPosition

All Known Subinterfaces:
VivaldiPosition
All Known Implementing Classes:
VivaldiPositionImpl

public interface DHTNetworkPosition
  • Field Details

  • Method Details

    • getPositionType

      byte getPositionType()
    • getSerialisedSize

      int getSerialisedSize()
      number of bytes on wire
      Returns:
    • estimateRTT

      float estimateRTT(DHTNetworkPosition other)
      Parameters:
      other -
      Returns:
      Float.NaN if no value available
    • update

      void update(byte[] other_id, DHTNetworkPosition other, float rtt)
    • isValid

      boolean isValid()
    • getLocation

      double[] getLocation()
    • serialise

      void serialise(DataOutputStream os) throws IOException
      Throws:
      IOException