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

Method Index

 o errorOccurred(LightEvent)
This method signals that an error has occurred in the light.
 o errorRepaired(LightEvent)
This method signals that the faulty light (the error) has been repaired.
 o turnedOff(LightEvent)
This method signals that the light has been turned off.
 o turnedOn(LightEvent)
This method signals that the light has been turned on.

Methods

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