Package org.ka2ddo.yaac.core
Class AlohaRanger
java.lang.Object
org.ka2ddo.yaac.core.AlohaRanger
This class collects the station information involved in a particular port's aloha circle
calculation.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionGet the station that set the perimeter of the Aloha circle.int
Get the number of digipeaters counted up for this aloha circle.int
Get the number of messages counted up for this aloha circle.getPort()
Get the Connector associated with this AlohaRanger.double
Get the range to the perimeter of this aloha circle.boolean
Report whether this Aloha report is a complete report, or where not enough traffic has been detected to indicate a saturated channel.toString()
Returns a string representation of the object.
-
Method Details
-
toString
Returns a string representation of the object. -
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
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
-