com.udi.insteon.client
Class InsteonEngineOps

java.lang.Object
  extended by com.udi.insteon.client.InsteonEngineOps

public class InsteonEngineOps
extends java.lang.Object


Nested Class Summary
 class InsteonEngineOps.InsteonResponse
           
 
Field Summary
static int ACK
           
static int ETX
           
static int ICMD1_LTBRITE
           
static int ICMD1_LTDIM
           
static int ICMD1_LTFOFF
           
static int ICMD1_LTFON
           
static int ICMD1_LTOFF
           
static int ICMD1_LTON
           
static int NACK
           
static int PLC_ACK_RESPONSE
           
static int PLC_GET_CONFIGURATION
           
static int PLC_GET_LAST_MESSAGE_LINK
           
static int PLC_GET_LINK
           
static int PLC_GET_NEXT_LINK
           
static int PLC_GET_VERSION
           
static int PLC_LED_OFF
           
static int PLC_LED_ON
           
static int PLC_MANAGE_LINK
           
static int PLC_RESET
           
static int PLC_RF_GO_TO_SLEEP
           
static int PLC_SEND_INSTEON_MSG
           
static int PLC_SEND_TO_GROUP
           
static int PLC_SEND_X10_MSG
           
static int PLC_SET_CONFIGURATION
           
static int PLC_SET_DEVICE
           
static int PLC_SET_NACK
           
static int PLC_START_LINKING
           
static int PLC_STOP_LINKING
           
static java.lang.String READ_FROM_DB
           
static java.lang.String SEND_INSTEON_COMMAND
           
static java.lang.String SEND_INSTEON_RAW
           
static int STX
           
static java.lang.String WRITE_TO_DB
           
 
Constructor Summary
InsteonEngineOps(UDProxyDevice dev)
           
 
Method Summary
 java.util.ArrayList<java.lang.Integer> read(java.lang.String node, int address, int numBytes)
           
 InsteonEngineOps.InsteonResponse sendCommand(java.lang.String node, int cmd, int param)
           
 InsteonEngineOps.InsteonResponse sendCommand(java.lang.String node, int cmd, int param, int flags)
           
 InsteonEngineOps.InsteonResponse sendExtendedCommand(java.lang.String node, int cmd, int param, int flags, java.util.ArrayList<java.lang.Integer> data)
           
 InsteonEngineOps.InsteonResponse sendExtendedCommand(java.lang.String node, int cmd, int param, int flags, boolean waitForExtResp, java.util.ArrayList<java.lang.Integer> data)
           
 boolean sendRaw(java.util.ArrayList<java.lang.Integer> bytes)
           
 boolean write(java.lang.String node, int address, java.util.ArrayList<java.lang.Integer> bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WRITE_TO_DB

public static final java.lang.String WRITE_TO_DB
See Also:
Constant Field Values

READ_FROM_DB

public static final java.lang.String READ_FROM_DB
See Also:
Constant Field Values

SEND_INSTEON_COMMAND

public static final java.lang.String SEND_INSTEON_COMMAND
See Also:
Constant Field Values

SEND_INSTEON_RAW

public static final java.lang.String SEND_INSTEON_RAW
See Also:
Constant Field Values

STX

public static final int STX
See Also:
Constant Field Values

ETX

public static final int ETX
See Also:
Constant Field Values

ACK

public static final int ACK
See Also:
Constant Field Values

NACK

public static final int NACK
See Also:
Constant Field Values

PLC_GET_VERSION

public static final int PLC_GET_VERSION
See Also:
Constant Field Values

PLC_SEND_TO_GROUP

public static final int PLC_SEND_TO_GROUP
See Also:
Constant Field Values

PLC_SEND_INSTEON_MSG

public static final int PLC_SEND_INSTEON_MSG
See Also:
Constant Field Values

PLC_SEND_X10_MSG

public static final int PLC_SEND_X10_MSG
See Also:
Constant Field Values

PLC_START_LINKING

public static final int PLC_START_LINKING
See Also:
Constant Field Values

PLC_STOP_LINKING

public static final int PLC_STOP_LINKING
See Also:
Constant Field Values

PLC_SET_DEVICE

public static final int PLC_SET_DEVICE
See Also:
Constant Field Values

PLC_RESET

public static final int PLC_RESET
See Also:
Constant Field Values

PLC_ACK_RESPONSE

public static final int PLC_ACK_RESPONSE
See Also:
Constant Field Values

PLC_GET_LINK

public static final int PLC_GET_LINK
See Also:
Constant Field Values

PLC_GET_NEXT_LINK

public static final int PLC_GET_NEXT_LINK
See Also:
Constant Field Values

PLC_SET_CONFIGURATION

public static final int PLC_SET_CONFIGURATION
See Also:
Constant Field Values

PLC_GET_LAST_MESSAGE_LINK

public static final int PLC_GET_LAST_MESSAGE_LINK
See Also:
Constant Field Values

PLC_LED_ON

public static final int PLC_LED_ON
See Also:
Constant Field Values

PLC_LED_OFF

public static final int PLC_LED_OFF
See Also:
Constant Field Values

PLC_MANAGE_LINK

public static final int PLC_MANAGE_LINK
See Also:
Constant Field Values

PLC_SET_NACK

public static final int PLC_SET_NACK
See Also:
Constant Field Values

PLC_RF_GO_TO_SLEEP

public static final int PLC_RF_GO_TO_SLEEP
See Also:
Constant Field Values

PLC_GET_CONFIGURATION

public static final int PLC_GET_CONFIGURATION
See Also:
Constant Field Values

ICMD1_LTON

public static final int ICMD1_LTON
See Also:
Constant Field Values

ICMD1_LTFON

public static final int ICMD1_LTFON
See Also:
Constant Field Values

ICMD1_LTOFF

public static final int ICMD1_LTOFF
See Also:
Constant Field Values

ICMD1_LTFOFF

public static final int ICMD1_LTFOFF
See Also:
Constant Field Values

ICMD1_LTBRITE

public static final int ICMD1_LTBRITE
See Also:
Constant Field Values

ICMD1_LTDIM

public static final int ICMD1_LTDIM
See Also:
Constant Field Values
Constructor Detail

InsteonEngineOps

public InsteonEngineOps(UDProxyDevice dev)
Method Detail

write

public boolean write(java.lang.String node,
                     int address,
                     java.util.ArrayList<java.lang.Integer> bytes)

read

public java.util.ArrayList<java.lang.Integer> read(java.lang.String node,
                                                   int address,
                                                   int numBytes)

sendCommand

public InsteonEngineOps.InsteonResponse sendCommand(java.lang.String node,
                                                    int cmd,
                                                    int param,
                                                    int flags)

sendExtendedCommand

public InsteonEngineOps.InsteonResponse sendExtendedCommand(java.lang.String node,
                                                            int cmd,
                                                            int param,
                                                            int flags,
                                                            boolean waitForExtResp,
                                                            java.util.ArrayList<java.lang.Integer> data)

sendExtendedCommand

public InsteonEngineOps.InsteonResponse sendExtendedCommand(java.lang.String node,
                                                            int cmd,
                                                            int param,
                                                            int flags,
                                                            java.util.ArrayList<java.lang.Integer> data)

sendCommand

public InsteonEngineOps.InsteonResponse sendCommand(java.lang.String node,
                                                    int cmd,
                                                    int param)

sendRaw

public boolean sendRaw(java.util.ArrayList<java.lang.Integer> bytes)