|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wcb.autohome.AutoHomeSession org.wcb.autohome.AutoHomeDaemonSession
Field Summary |
Fields inherited from class org.wcb.autohome.AutoHomeSession |
CURRENT_FILENAME, deviceFactory, gateway |
Fields inherited from interface org.wcb.autohome.interfaces.X10DeviceConstants |
APPLIANCE_MODULE_OFF, APPLIANCE_MODULE_ON, BAUD, BAUD_RATE_ARRAY, BRIGHT_ACTION, BROWSER, CM11A_TRANSMITTER, CM17A_TRANSMITTER, CONNECT_ON_START, COUNTRY, DATA_BIT, DATA_BITS_ARRAY, DEVICE_ARRAY, DIM_ACTION, EMAIL_AUTHORIZE, EMAIL_FREQUENCY, EMAIL_FROM, EMAIL_PASSWORD, EMAIL_SMTP, EMAIL_TO, EMAIL_USERNAME, FALSE, HOUSE_CODES_ARRAY, INTERFACE_TYPE, LAMP_MODULE_OFF, LAMP_MODULE_ON, LANGUAGE, LAST_FILE, LOCALHOST, LOOK_AND_FEEL, MAC, METAL, MOTIF, OFF_ACTION, ON_ACTION, PARITY, PARITY_ARRAY, RECOVER_CM11A, RMI_HOST, SEPARATOR, SERIAL_PORT, SPEECH_ENGINE, STOP_BIT, STOP_BITS_ARRAY, TEST_TRANSMITTER, TIMER_EVENT, TRIGGER_EVENT, TRUE, USER_HOME, WINDOWS |
Method Summary | |
IDeviceRemote |
getDeviceFactory()
Deprecated. |
static AutoHomeDaemonSession |
getInstance()
returns a singleton value of the AutoHomeDaemonSession |
java.lang.String |
getServletPath()
For servlets web based applications need to get reference to servlet context; |
void |
loadLastSettings(java.lang.String sFilename,
java.lang.String sDirectory)
Loads the last settings from the file properties file loader. |
void |
printMessage(java.lang.String messages)
simple method to print messages to gui or console |
void |
saveFile(java.lang.String sFullfilename)
Saves the file path and name and stores it in the jhome.prop file then it calls parent class to save the actual .x10 serialized file. |
void |
setServletPath(java.lang.String sPath)
For servlets web application need to set reference to servlet context; |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static AutoHomeDaemonSession getInstance()
public IDeviceRemote getDeviceFactory()
public void loadLastSettings(java.lang.String sFilename, java.lang.String sDirectory)
sFilename
- file name to load can be nullsDirectory
- directory path to load HAConfig.ini and jhome.prop files.public void saveFile(java.lang.String sFullfilename) throws HomeException
saveFile
in class AutoHomeSession
sFullfilename
- full path and file name of the saved file.
HomeException
public void setServletPath(java.lang.String sPath)
sPath
- Servlet context path.public java.lang.String getServletPath()
public void printMessage(java.lang.String messages)
messages
- prints a system.out or speaks the text.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |