|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhomenet.hw.driver.X10.X10Container
public abstract class X10Container
| Nested Class Summary | |
|---|---|
static class |
X10Container.ContainerType
Define the different type of X10 containers. |
| Field Summary | |
|---|---|
protected int |
deviceCode
The hardware's device code. |
protected char |
houseCode
The hardware's house code. |
| Constructor Summary | |
|---|---|
X10Container(char houseCode,
int deviceCode)
Default constructor. |
|
X10Container(java.lang.String hardwareID)
Overriden constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAddress()
Return the hardware address of the X10 switch. |
abstract java.lang.String |
getContainerType()
|
static X10Container.ContainerType |
toType(java.lang.String type)
|
protected void |
transmit(Transmitter transmitter,
X10Event[] events)
Transmit the events to the X-10 network. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected char houseCode
protected int deviceCode
| Constructor Detail |
|---|
public X10Container(char houseCode,
int deviceCode)
houseCode - The hardware's house code.deviceCode - The hardware's device code.public X10Container(java.lang.String hardwareID)
hardwareID - | Method Detail |
|---|
public java.lang.String getAddress()
protected void transmit(Transmitter transmitter,
X10Event[] events)
transmitter - events - public static X10Container.ContainerType toType(java.lang.String type)
public abstract java.lang.String getContainerType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||