|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsophware.home.io.HomeEvent
sophware.home.x10.X10Event
public class X10Event
The X10Event extends HomeEvent to represent an
X10 event.
| Field Summary | |
|---|---|
static short |
ALL_LIGHTS_OFF
|
static short |
ALL_LIGHTS_ON
|
static short |
ALL_UNITS_OFF
|
static short |
BRIGHT
|
static short |
DIM
|
static short |
EXTENDED_CODE
|
static short |
EXTENDED_DATA
|
static short |
HAIL_ACKNOWLEDGE
|
static short |
HAIL_REQUEST
|
static java.lang.String[] |
m_funcNames
|
static short |
OFF
|
static short |
ON
|
static short |
PRESET_DIM
|
static short |
PRESET_DIM2
|
static long |
serialVersionUID
|
static short |
STATUS_OFF
|
static short |
STATUS_ON
|
static short |
STATUS_REQUEST
|
| Constructor Summary | |
|---|---|
X10Event(byte[] buf,
int len)
Creates and X10 event |
|
X10Event(HomeCommand command)
Creates and X10 event |
|
| Method Summary | |
|---|---|
java.util.Enumeration<X10Address> |
getAddresses()
Get all X10Addresss associated with this event. |
short |
getDimValue()
Get dim value associated with this event |
byte[] |
getExtData(byte[] data)
Get extended data associated with this event |
short |
getFunction()
Get function associated with this event |
java.lang.String |
toString()
String representation of this event. |
| Methods inherited from class sophware.home.io.HomeEvent |
|---|
getDate, getEventHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
public static final java.lang.String[] m_funcNames
public static final short ALL_UNITS_OFF
public static final short ALL_LIGHTS_ON
public static final short ON
public static final short OFF
public static final short DIM
public static final short BRIGHT
public static final short ALL_LIGHTS_OFF
public static final short EXTENDED_CODE
public static final short HAIL_REQUEST
public static final short HAIL_ACKNOWLEDGE
public static final short PRESET_DIM
public static final short PRESET_DIM2
public static final short EXTENDED_DATA
public static final short STATUS_ON
public static final short STATUS_OFF
public static final short STATUS_REQUEST
| Constructor Detail |
|---|
public X10Event(HomeCommand command)
throws HomeException
command - a X10Command
HomeException
public X10Event(byte[] buf,
int len)
throws HomeException
buf - the transmission bufferlen - length of the transmission buffer
HomeException| Method Detail |
|---|
public java.util.Enumeration<X10Address> getAddresses()
X10Addresss associated with this event.
public short getFunction()
public short getDimValue()
public byte[] getExtData(byte[] data)
public java.lang.String toString()
String representation of this event.
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||