Package org.ka2ddo.yaac.healthmonitor
Class MonitoredStation
java.lang.Object
org.ka2ddo.yaac.healthmonitor.MonitoredStation
This class contains the control information for specifying one remote
station to monitor.
- Author:
- Andrew Pavlin, KA2DDO
-
Field Summary
Modifier and TypeFieldDescriptionThe list of stations digipeated by this station.The StationState object for the monitored station.final Set<MonitorType>
Set of all the types of monitoring the health monitor should perform. -
Constructor Summary
ConstructorDescriptionCreate an empty MonitoredStation record.MonitoredStation
(String callsign) Create a MonitoredStation record for the specified callsign-SSID. -
Method Summary
Modifier and TypeMethodDescriptionGet the callsign-SSID of this MonitoredStation.void
setStationCallsign
(AX25Callsign stationCallsign) Initialize the callsign for an empty MonitoredStation record.void
Persist this MonitoredStation to Java Preferences.
-
Field Details
-
types
Set of all the types of monitoring the health monitor should perform. -
state
The StationState object for the monitored station. -
digipeatedStations
The list of stations digipeated by this station. May be null if this station is not a digipeater or I-gate.
-
-
Constructor Details
-
MonitoredStation
public MonitoredStation()Create an empty MonitoredStation record. -
MonitoredStation
Create a MonitoredStation record for the specified callsign-SSID.- Parameters:
callsign
- String callsign-SSID of the station to monitor
-
-
Method Details
-
getStationCallsign
Get the callsign-SSID of this MonitoredStation.- Returns:
- AX25Callsign of the station callsign-SSID
-
setStationCallsign
Initialize the callsign for an empty MonitoredStation record.- Parameters:
stationCallsign
- AX25Callsign of the station callsign-SSID- Throws:
IllegalStateException
- if callsign was already set for this record
-
writeToPreferences
public void writeToPreferences()Persist this MonitoredStation to Java Preferences.
-