com.universaldevices.common
Class Constants

java.lang.Object
  extended by com.universaldevices.common.Constants

public class Constants
extends java.lang.Object

System wide UD constants

Author:
UD Architect

Field Summary
static java.lang.String AUTO_UPDATE_FILE
           
static java.lang.String CONTROL_NOT_AVAILABLE
          Some Widget Control Constants
static java.lang.String CONTROL_NOT_AVAILABLE_STRING
           
static java.lang.String CURR_APP_VERSION
           
static java.lang.String DEFAULT_DESCRIPTION_URL
           
static java.lang.String DEFAULT_SSL_CERTIFICATE_DN
           
static java.lang.String DELETE_FILE_URL
           
static int DEV_ST_BUSY
          System is busy doing something
static int DEV_ST_INITIALIZING
          System is in initializing (either initializing the system or a device linked to the system)
static int DEV_ST_QUERYING
          System is querying
static int DEV_ST_READY
          System is ready
static int DEV_ST_SEARCHING
          System is searching for devices (to be linked)
static short DEVICE_ALIVE_INTERVAL
           
static int DEVICE_ALIVE_INTERVAL_SEC
           
static char DISABLE_INTERNET_ACCESS_FLAG
           
static java.lang.String ELK_ARM_TO_NEXT_AWAY_MODE
           
static java.lang.String ELK_ARM_TO_NEXT_STAY_MODE
           
static java.lang.String ELK_DISARM_COMMAND
          ELK Commands
static java.lang.String ELK_WEB_SERVICE_ID
           
static char ENABLE_INTERNET_ACCESS_FLAG
          Internet Access Flags
static int EVENTS_HANDLER_BACKLOG
           
static char FILE_DELETE_FLAG
           
static char FILE_NO_ACTION_FLAG
           
static char FILE_PROCESS_FLAG
           
static java.lang.String FILE_UPLOAD_URL
           
static int HTTP_BUFFER_SIZE
           
static java.lang.String ILLUMRA_SSL_MGMT_URL
           
static java.lang.String INSTEON_SSL_MGMT_URL
           
static java.lang.String MAKE_DIR_URL
           
static int MAX_USERID_PWD_LENGTH
           
static int MIN_USERID_PWD_LENGTH
           
static java.lang.String MODULES_PURCHASE_URL
           
static char NODE_IS_A_GROUP
          Indicates that a node is a group
static char NODE_IS_DEVICE_PRIMARY
          Indicates that this node is the primary node for the device.
static char NODE_IS_IN_ERR
          Indicates that a node is in error
static char NODE_IS_MASTER
          Deprecated.  
static char NODE_IS_ROOT
          Indicates that a Group node is also the root (ISY node)
static java.lang.String PRODUCT_MODULES_URL
           
static java.lang.String PROGRAM_DELETE_URL
           
static java.lang.String PROGRAM_UPLOAD_URL
           
static java.lang.String REMOVE_DIR_URL
           
static java.lang.String REST_PROGRAMS_URL
          Programs
static java.lang.String SECURITY_FILE_NAME
           
static java.lang.String SEP_WEB_SERVICE_ID
           
static java.lang.String SOAP_SUBSCRIPTION_REUSE_SOCKET
           
static int SSDP_RECEIVE_TIME_OUT
           
static java.lang.String SUBSCRIPTION_REUSE_SOCKET
           
static java.lang.String UD_AUTO_UPDATE_PRODUCT_UPDATES
          Auto update
static java.lang.String UD_CONFIG_URL_TAG
          UD specific URLs
static java.lang.String UD_EVENTING_URL
           
static char UD_EXTERNAL_URL
           
static java.lang.String UD_EXTERNAL_URL_PATH
           
static java.lang.String UD_GEO_LOCATIONS_URL
           
static java.lang.String UD_IR_CONFIG_FILE_URL
          IR Config
static java.lang.String UD_IR_REMOTE_CONFIG_FILE_URL
           
static char UD_LINK_MODE_MASTER
          Indicates that, when in a relationship to a scene, the node plays the role of a controller/master
static char UD_LINK_MODE_SLAVE
          Indicates that, when in a relationship to a scene, the node plays the role of a responder/slave
static java.lang.String UD_MAIL_TO_PROVIDERS_URL
          Mail to
static java.lang.String UD_PRODUCT_DISCLAIMER_URL
           
static java.lang.String UD_SUBSCRIPTION_DURATION
           
static java.lang.String UD_UI_CONFIG_DIR_ROOT
           
static java.lang.String UD_UPNP_DEVICE
           
static java.lang.String UD_WEB_USER_DIRECTORY
           
static java.lang.String UD_WEB_USER_WEB_DIRECTORY
           
static java.lang.String UD_WEB_USER_WEB_DIRECTORY_NAME
           
static java.lang.String UPB_SSL_MGMT_URL
           
static java.lang.String UPB_WEB_SERVICE_ID
           
static java.lang.String UPNP_GROUP_IP
          UPnP related
static int UPNP_GROUP_PORT
           
static int UPNP_HTTPS_SOAP_CONNECT_TIMEOUT
           
static int UPNP_SEARCH_TIMEOUT
           
static int UPNP_SOAP_ACTION_LONG_TIMEOUT
           
static int UPNP_SOAP_ACTION_TIMEOUT
           
static int UPNP_SOAP_CONNECT_TIMEOUT
           
static int UPNP_SUBSCRIPTION_RESPONSE_TIMEOUT
           
static int URL_CONNECT_TIME_OUT
           
static java.lang.String WORKING_SECURITY_CONF_FILE
           
 
Constructor Summary
Constants()
           
 
Method Summary
static java.lang.String getTempDir()
           
static boolean isMac()
           
static boolean isVista()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPB_WEB_SERVICE_ID

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

SEP_WEB_SERVICE_ID

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

ELK_WEB_SERVICE_ID

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

UPNP_GROUP_IP

public static final java.lang.String UPNP_GROUP_IP
UPnP related

See Also:
Constant Field Values

UPNP_GROUP_PORT

public static final int UPNP_GROUP_PORT
See Also:
Constant Field Values

UD_UPNP_DEVICE

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

UPNP_SEARCH_TIMEOUT

public static final int UPNP_SEARCH_TIMEOUT
See Also:
Constant Field Values

UPNP_SOAP_ACTION_LONG_TIMEOUT

public static final int UPNP_SOAP_ACTION_LONG_TIMEOUT
See Also:
Constant Field Values

UPNP_SOAP_ACTION_TIMEOUT

public static final int UPNP_SOAP_ACTION_TIMEOUT
See Also:
Constant Field Values

UPNP_SOAP_CONNECT_TIMEOUT

public static final int UPNP_SOAP_CONNECT_TIMEOUT
See Also:
Constant Field Values

UPNP_HTTPS_SOAP_CONNECT_TIMEOUT

public static final int UPNP_HTTPS_SOAP_CONNECT_TIMEOUT
See Also:
Constant Field Values

UPNP_SUBSCRIPTION_RESPONSE_TIMEOUT

public static final int UPNP_SUBSCRIPTION_RESPONSE_TIMEOUT
See Also:
Constant Field Values

URL_CONNECT_TIME_OUT

public static final int URL_CONNECT_TIME_OUT
See Also:
Constant Field Values

SUBSCRIPTION_REUSE_SOCKET

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

SOAP_SUBSCRIPTION_REUSE_SOCKET

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

EVENTS_HANDLER_BACKLOG

public static final int EVENTS_HANDLER_BACKLOG
See Also:
Constant Field Values

UD_EVENTING_URL

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

UD_SUBSCRIPTION_DURATION

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

DEFAULT_DESCRIPTION_URL

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

UD_CONFIG_URL_TAG

public static final java.lang.String UD_CONFIG_URL_TAG
UD specific URLs

See Also:
Constant Field Values

NODE_IS_DEVICE_PRIMARY

public static final char NODE_IS_DEVICE_PRIMARY
Indicates that this node is the primary node for the device.

See Also:
Constant Field Values

NODE_IS_A_GROUP

public static final char NODE_IS_A_GROUP
Indicates that a node is a group

See Also:
Constant Field Values

NODE_IS_ROOT

public static final char NODE_IS_ROOT
Indicates that a Group node is also the root (ISY node)

See Also:
Constant Field Values

NODE_IS_IN_ERR

public static final char NODE_IS_IN_ERR
Indicates that a node is in error

See Also:
Constant Field Values

NODE_IS_MASTER

public static final char NODE_IS_MASTER
Deprecated. 
Indicates that, when in a relationship to a scene, the node plays the role of a controller/master

See Also:
Constant Field Values

UD_LINK_MODE_MASTER

public static final char UD_LINK_MODE_MASTER
Indicates that, when in a relationship to a scene, the node plays the role of a controller/master

See Also:
Constant Field Values

UD_LINK_MODE_SLAVE

public static final char UD_LINK_MODE_SLAVE
Indicates that, when in a relationship to a scene, the node plays the role of a responder/slave

See Also:
Constant Field Values

DEV_ST_INITIALIZING

public static final int DEV_ST_INITIALIZING
System is in initializing (either initializing the system or a device linked to the system)

See Also:
Constant Field Values

DEV_ST_QUERYING

public static final int DEV_ST_QUERYING
System is querying

See Also:
Constant Field Values

DEV_ST_SEARCHING

public static final int DEV_ST_SEARCHING
System is searching for devices (to be linked)

See Also:
Constant Field Values

DEV_ST_BUSY

public static final int DEV_ST_BUSY
System is busy doing something

See Also:
Constant Field Values

DEV_ST_READY

public static final int DEV_ST_READY
System is ready

See Also:
Constant Field Values

DEVICE_ALIVE_INTERVAL

public static final short DEVICE_ALIVE_INTERVAL
See Also:
Constant Field Values

DEVICE_ALIVE_INTERVAL_SEC

public static final int DEVICE_ALIVE_INTERVAL_SEC
See Also:
Constant Field Values

MAKE_DIR_URL

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

REMOVE_DIR_URL

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

DELETE_FILE_URL

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

FILE_UPLOAD_URL

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

PROGRAM_UPLOAD_URL

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

PROGRAM_DELETE_URL

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

FILE_NO_ACTION_FLAG

public static final char FILE_NO_ACTION_FLAG
See Also:
Constant Field Values

FILE_PROCESS_FLAG

public static final char FILE_PROCESS_FLAG
See Also:
Constant Field Values

FILE_DELETE_FLAG

public static final char FILE_DELETE_FLAG
See Also:
Constant Field Values

REST_PROGRAMS_URL

public static final java.lang.String REST_PROGRAMS_URL
Programs

See Also:
Constant Field Values

UD_MAIL_TO_PROVIDERS_URL

public static final java.lang.String UD_MAIL_TO_PROVIDERS_URL
Mail to

See Also:
Constant Field Values

UD_GEO_LOCATIONS_URL

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

UD_IR_CONFIG_FILE_URL

public static final java.lang.String UD_IR_CONFIG_FILE_URL
IR Config

See Also:
Constant Field Values

UD_IR_REMOTE_CONFIG_FILE_URL

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

CONTROL_NOT_AVAILABLE

public static final java.lang.String CONTROL_NOT_AVAILABLE
Some Widget Control Constants

See Also:
Constant Field Values

CONTROL_NOT_AVAILABLE_STRING

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

UD_AUTO_UPDATE_PRODUCT_UPDATES

public static final java.lang.String UD_AUTO_UPDATE_PRODUCT_UPDATES
Auto update

See Also:
Constant Field Values

UD_PRODUCT_DISCLAIMER_URL

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

SSDP_RECEIVE_TIME_OUT

public static final int SSDP_RECEIVE_TIME_OUT
See Also:
Constant Field Values

HTTP_BUFFER_SIZE

public static final int HTTP_BUFFER_SIZE
See Also:
Constant Field Values

UD_EXTERNAL_URL

public static final char UD_EXTERNAL_URL
See Also:
Constant Field Values

UD_EXTERNAL_URL_PATH

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

MIN_USERID_PWD_LENGTH

public static final int MIN_USERID_PWD_LENGTH
See Also:
Constant Field Values

MAX_USERID_PWD_LENGTH

public static final int MAX_USERID_PWD_LENGTH
See Also:
Constant Field Values

UD_UI_CONFIG_DIR_ROOT

public static final java.lang.String UD_UI_CONFIG_DIR_ROOT

AUTO_UPDATE_FILE

public static final java.lang.String AUTO_UPDATE_FILE

ENABLE_INTERNET_ACCESS_FLAG

public static final char ENABLE_INTERNET_ACCESS_FLAG
Internet Access Flags

See Also:
Constant Field Values

DISABLE_INTERNET_ACCESS_FLAG

public static final char DISABLE_INTERNET_ACCESS_FLAG
See Also:
Constant Field Values

ELK_DISARM_COMMAND

public static final java.lang.String ELK_DISARM_COMMAND
ELK Commands

See Also:
Constant Field Values

ELK_ARM_TO_NEXT_AWAY_MODE

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

ELK_ARM_TO_NEXT_STAY_MODE

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

DEFAULT_SSL_CERTIFICATE_DN

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

INSTEON_SSL_MGMT_URL

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

ILLUMRA_SSL_MGMT_URL

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

UPB_SSL_MGMT_URL

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

WORKING_SECURITY_CONF_FILE

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

SECURITY_FILE_NAME

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

MODULES_PURCHASE_URL

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

PRODUCT_MODULES_URL

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

UD_WEB_USER_DIRECTORY

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

UD_WEB_USER_WEB_DIRECTORY

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

UD_WEB_USER_WEB_DIRECTORY_NAME

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

CURR_APP_VERSION

public static java.lang.String CURR_APP_VERSION
Constructor Detail

Constants

public Constants()
Method Detail

isVista

public static boolean isVista()

isMac

public static boolean isMac()

getTempDir

public static java.lang.String getTempDir()