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.


Method Index

 o cantOpenPort(CommunicationErrorEvent)
It is invoked when it is not possible to open the port.
 o failedToReadTemperature(CommunicationErrorEvent)
It is invoked when an error occured while reading the temperature
 o failedToReadWindDirection(CommunicationErrorEvent)
It is invoked when an error occured while reading the wind direction.
 o failedToReadWindSpeed(CommunicationErrorEvent)
It is invoked when an error occured while reading the wind speed.
 o weatherStationNotFound(CommunicationErrorEvent)
It is invoked when Weather Station is not found on the current port

Methods

 o 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
 o 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
 o 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
 o 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
 o 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