Class AlohaRanger

java.lang.Object
org.ka2ddo.yaac.core.AlohaRanger

public class AlohaRanger extends Object
This class collects the station information involved in a particular port's aloha circle calculation.
Author:
Andrew Pavlin, KA2DDO
  • Method Details

    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.
    • getPort

      public Connector getPort()
      Get the Connector associated with this AlohaRanger.
      Returns:
      Connector whose statistics are calculated in this ranger
    • getNumDigis

      public int getNumDigis()
      Get the number of digipeaters counted up for this aloha circle.
      Returns:
      estimated digipeater count
    • getNumMsgs

      public int getNumMsgs()
      Get the number of messages counted up for this aloha circle.
      Returns:
      estimated message count
    • getRangeM

      public double getRangeM()
      Get the range to the perimeter of this aloha circle.
      Returns:
      range to circle perimeter in meters
    • getMostDistantStation

      public StationState getMostDistantStation()
      Get the station that set the perimeter of the Aloha circle.
      Returns:
      StationState of the most distant station on the circle
    • isMaxedOut

      public boolean isMaxedOut()
      Report whether this Aloha report is a complete report, or where not enough traffic has been detected to indicate a saturated channel.
      Returns:
      boolean true if channel is saturated