org.ka2ddo.yaac.healthmonitor
Interface MonitoredStationListener

All Known Implementing Classes:
TMWeather

public interface MonitoredStationListener


Method Summary
 void stationAdded(int index, MonitoredStation station)
          Tell the listener that a new station has been added to the MonitoredStationList.
 void stationRemoved(int index, MonitoredStation station)
          Tell the listener that a station is no longer being monitored.
 void stationUpdated(int index, MonitoredStation station)
          Tell the listener that data about a MonitoredStation has changed.
 

Method Detail

stationAdded

void stationAdded(int index,
                  MonitoredStation station)
Tell the listener that a new station has been added to the MonitoredStationList.

Parameters:
index - int zero-based position in the list where the station has been added
station - MonitoredStation object to add

stationUpdated

void stationUpdated(int index,
                    MonitoredStation station)
Tell the listener that data about a MonitoredStation has changed.

Parameters:
index - zero-based index of the station in the MonitoredStationList
station - MonitoredStation whose data has been updated

stationRemoved

void stationRemoved(int index,
                    MonitoredStation station)
Tell the listener that a station is no longer being monitored.

Parameters:
index - int zero-based position in the MonitoredStationList where the station used to be
station - MonitoredStation being removed