x10
Class UnitEvent

java.lang.Object
  extended byx10.UnitEvent
All Implemented Interfaces:
java.io.Serializable

public class UnitEvent
extends java.lang.Object
implements java.io.Serializable

UnitEvent an event representing a change in state of an x10 hardware or software module.

See Also:
Serialized Form

Constructor Summary
UnitEvent(Command command)
          UnitEvent constructs a UnitEvent based on the specified Command.
 
Method Summary
 Command getCommand()
          getCommand returns the command that generated this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitEvent

public UnitEvent(Command command)
UnitEvent constructs a UnitEvent based on the specified Command.

Parameters:
command - the command that generated this event.
Method Detail

getCommand

public Command getCommand()
getCommand returns the command that generated this event.

Returns:
Command the Command that generated this event.


Copyright ©2000-2005 Wade Wassenberg.
On the web: http://x10.homelinux.org.
Send bug reports to x10@wass.homelinux.net.
Last Modified June 1, 2005