All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.weatherstation.event.CommunicationErrorListener
- public interface CommunicationErrorListener
- extends EventListener
The listener interface for receiving CommunicationError events.
-
cantOpenPort(CommunicationErrorEvent)
- It is invoked when it is not possible to open the port.
-
failedToReadTemperature(CommunicationErrorEvent)
- It is invoked when an error occured while reading the temperature
-
failedToReadWindDirection(CommunicationErrorEvent)
- It is invoked when an error occured while reading the wind direction.
-
failedToReadWindSpeed(CommunicationErrorEvent)
- It is invoked when an error occured while reading the wind speed.
-
weatherStationNotFound(CommunicationErrorEvent)
- It is invoked when Weather Station is not found on the current port
cantOpenPort
public abstract void cantOpenPort(CommunicationErrorEvent ev)
- It is invoked when it is not possible to open the port.
- Parameters:
- ev - com.ibm.weatherstation.event.CommunicationErrorEvent
failedToReadTemperature
public abstract void failedToReadTemperature(CommunicationErrorEvent ev)
- It is invoked when an error occured while reading the temperature
- Parameters:
- ev - com.ibm.weatherstation.event.CommunicationErrorEvent
failedToReadWindDirection
public abstract void failedToReadWindDirection(CommunicationErrorEvent ev)
- It is invoked when an error occured while reading the wind direction.
- Parameters:
- ev - com.ibm.weatherstation.event.CommunicationErrorEvent
failedToReadWindSpeed
public abstract void failedToReadWindSpeed(CommunicationErrorEvent ev)
- It is invoked when an error occured while reading the wind speed.
- Parameters:
- ev - com.ibm.weatherstation.event.CommunicationErrorEvent
weatherStationNotFound
public abstract void weatherStationNotFound(CommunicationErrorEvent ev)
- It is invoked when Weather Station is not found on the current port
- Parameters:
- ev - com.ibm.weatherstation.event.CommunicationErrorEvent
All Packages Class Hierarchy This Package Previous Next Index