sophware.home.insteon
Class InsteonEventHandler
java.lang.Object
sophware.home.io.HomeEventHandler
sophware.home.insteon.InsteonEventHandler
public class InsteonEventHandler
- extends HomeEventHandler
The InsteonEventHandler
is the default event handler for InsteonHomeEvents
- Version:
- 1.0, 03/19/07
- Author:
- Russell Soph
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsteonEventHandler
public InsteonEventHandler()
update
public void update(HomeEvent e,
Home home)
- Apply a HomeEvent to a
Home
Finds the device in the Home and updates it. If device does not
exist and HomeEvent is Insteon Broadcast ID it attempts to create
the device using the InsteonDeviceFactory.
- Specified by:
update in class HomeEventHandler
- Parameters:
e - the HomeEventhome - the home- See Also:
InsteonDeviceFactory,
update(HomeEvent,Home,HomeDevice)
update
public void update(HomeEvent e,
Home home,
HomeDevice device)
- Apply this event to a
HomeDevice
HomeDevices that do not override their update method will call
this method to process HomeEvents
- Specified by:
update in class HomeEventHandler
- Parameters:
e - the HomeEventhome - the Homedevice - the HomeDevice- See Also:
HomeDevice.update(Home,HomeEvent)