sophware.home.x10
Class X10EventHandler

java.lang.Object
  extended by sophware.home.io.HomeEventHandler
      extended by sophware.home.x10.X10EventHandler

public class X10EventHandler
extends HomeEventHandler

The X10EventHandler provides default event handling of X10Events.


Constructor Summary
X10EventHandler()
           
 
Method Summary
 void update(HomeEvent e, Home home)
          Apply an event to a home
 void update(HomeEvent e, Home home, HomeDevice device)
          Apply an event to a HomeDevice
 
Methods inherited from class sophware.home.io.HomeEventHandler
getEventHandler, isActive, setActive, setAllActive, setEventHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X10EventHandler

public X10EventHandler()
Method Detail

update

public void update(HomeEvent e,
                   Home home)
Apply an event to a home

Specified by:
update in class HomeEventHandler
Parameters:
e - the HomeEvent.
home - the Home to be updated.

update

public void update(HomeEvent e,
                   Home home,
                   HomeDevice device)
Apply an event to a HomeDevice

Specified by:
update in class HomeEventHandler
Parameters:
e - the HomeEvent.
home - the Home.
device - the HomeDevice to be updated.