All Packages Class Hierarchy This Package Previous Next Index
Interface edu.cmu.owl.bo.control.server.LightEventListener
- public interface interface LightEventListener
This interface represents the LightEvent listener. This must implemented
by clients interested in LightEvents for a particular light. This is a remote
interface.
- Version:
- 1.0
- See Also:
- addListener
-
errorOccurred(LightEvent)
- This method signals that an error has occurred in the light.
-
errorRepaired(LightEvent)
- This method signals that the faulty light (the error) has been repaired.
-
turnedOff(LightEvent)
- This method signals that the light has been turned off.
-
turnedOn(LightEvent)
- This method signals that the light has been turned on.
turnedOn
public abstract void turnedOn(LightEvent event) throws RemoteException
- This method signals that the light has been turned on.
- Parameters:
- LightEventObject - the event object associated with this event
- Throws: RemoteException
- if the remote communication fails
turnedOff
public abstract void turnedOff(LightEvent event) throws RemoteException
- This method signals that the light has been turned off.
- Parameters:
- LightEventObject - the event object associated with this event
- Throws: RemoteException
- if the remote communication fails
errorOccurred
public abstract void errorOccurred(LightEvent event) throws RemoteException
- This method signals that an error has occurred in the light.
- Parameters:
- LightEventObject - the event object associated with this event
- Throws: RemoteException
- if the remote communication fails
errorRepaired
public abstract void errorRepaired(LightEvent event) throws RemoteException
- This method signals that the faulty light (the error) has been repaired.
- Parameters:
- LightEventObject - the event object associated with this event
- Throws: RemoteException
- if the remote communication fails
All Packages Class Hierarchy This Package Previous Next Index