Package org.ka2ddo.yaac.ax25
Interface TrackerListener
- All Known Implementing Classes:
AlohaTracker
,BulletinBoard
,HeardStationsTableModel
,LineOfSightPane
,MessageModel
,MonitoredStationList
,ObjectPacketModel
,ObjectReportSender
,PopupStationWindow
,SendingStationFilter
,StationListTableModel
,StationRenderer
,SymbolFilter
,TelemetryModel
public interface TrackerListener
This interface defines events that can occur when the StationTracker class is
updated with new node information.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionvoid
messageAdded
(StationState ss, int index, AX25Message msg) Called when a AX25Message is added to the history for a station in the tracker.void
messageDeleted
(StationState ss, int index, AX25Message msg) Called when a AX25Message is deleted from the history for a station in the tracker.void
stationAdded
(StationState ss, int index) Called when a new station is initially added to the tracker.void
stationDeleted
(StationState ss, int index) Called when an existing station is deleted from the tracker.void
Called when an existing station is updated with new information in the tracker.
-
Method Details
-
stationAdded
Called when a new station is initially added to the tracker.- Parameters:
ss
- StationState containing the station's information; the initial AX25Message will not yet be stored within the StationState objectindex
- zero-based integer sequence number for this station in the StationTracker
-
stationUpdated
Called when an existing station is updated with new information in the tracker.- Parameters:
ss
- StationState containing the station's information
-
stationDeleted
Called when an existing station is deleted from the tracker.- Parameters:
ss
- StationState containing the station's informationindex
- zero-based integer sequence number for this station in the StationTracker
-
messageAdded
Called when a AX25Message is added to the history for a station in the tracker.- Parameters:
ss
- StationState containing the station's informationindex
- zero-based index of the message added to the StationState objectmsg
- APRS Message object being added to the tracker; note that non-APRS packets that can still be decoded (such as OpenTRAC) will also be passed here; AX25Frames that cannot be decoded will pass null here
-
messageDeleted
Called when a AX25Message is deleted from the history for a station in the tracker.- Parameters:
ss
- StationState containing the station's information; the AX25Message will already be removed from the StationState objectindex
- zero-based index of the message removed from the StationState objectmsg
- APRS Message object being removed from the tracker; note that non-APRS packets that can still be decoded (such as OpenTRAC) will also be passed here; AX25Frames that cannot be decoded will pass null here
-