|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsophware.home.io.HomeCommand
sophware.home.insteon.PLCCommand
public class PLCCommand
An PLCCommand is transmitted via a
HomeTransmitter to the PLC.
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
static byte |
SIMULATED_CMD
|
| Constructor Summary | |
|---|---|
PLCCommand(byte command,
byte[] data)
constructs a new PLCCommand |
|
| Method Summary | |
|---|---|
int |
getBytes(byte[] data)
get the transmission bytes |
byte |
getCommand()
get the command value |
int |
getData(byte[] data)
get the command data |
java.lang.String |
toString()
string representation of this command |
| Methods inherited from class sophware.home.io.HomeCommand |
|---|
execute, getListener, getRequestID, setListener, setRequestID |
| 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 byte SIMULATED_CMD
| Constructor Detail |
|---|
public PLCCommand(byte command,
byte[] data)
PLCCommand
command - the command to be sentdata - the data associated with the command| Method Detail |
|---|
public byte getCommand()
public int getData(byte[] data)
data - the buffer into which the bytes are copied
public int getBytes(byte[] data)
getBytes in class HomeCommanddata - the buffer into which the bytes are copied
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||