Package org.ka2ddo.yaac.ax25
Class StationTracker.DestinationStatistics
java.lang.Object
org.ka2ddo.yaac.ax25.StationTracker.AddressStatistics<String,StationTracker.DestinationStatistics>
org.ka2ddo.yaac.ax25.StationTracker.DestinationStatistics
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StationTracker
public static class StationTracker.DestinationStatistics
extends StationTracker.AddressStatistics<String,StationTracker.DestinationStatistics>
Usage statistics for a particular tocall (destination) callsign in AX.25 traffic.
- Author:
- Andrew Pavlin, KA2DDO
- See Also:
-
Field Summary
Fields inherited from class org.ka2ddo.yaac.ax25.StationTracker.AddressStatistics
enabled, numUsed, rowIndex
-
Constructor Summary
ConstructorDescriptionDestinationStatistics
(String dest) Create a new DestinationStatistics counter object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStationReference
(String stationCallsign) Add a reference to a station.getKey()
Get the identifier for the statistics.int
Get the number of stations using this tocall.Methods inherited from class org.ka2ddo.yaac.ax25.StationTracker.AddressStatistics
getValue, toString
-
Constructor Details
-
DestinationStatistics
Create a new DestinationStatistics counter object.- Parameters:
dest
- String callsign or tocall for these statistics
-
-
Method Details
-
getKey
Get the identifier for the statistics.- Specified by:
getKey
in classStationTracker.AddressStatistics<String,
StationTracker.DestinationStatistics> - Returns:
- statistics identifier
-
addStationReference
Add a reference to a station.- Parameters:
stationCallsign
- String callsign-SSID of the sending station
-
getStationCount
public int getStationCount()Get the number of stations using this tocall.- Returns:
- number of using stations
-