org.wcb.autohome.interfaces
Interface IHAGateway

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
HAGateway

public interface IHAGateway
extends java.rmi.Remote

Project: Home Automation Server Filename: $Id: IHAGateway.java,v 1.17 2004/02/06 20:06:36 wbogaardt Exp $ Abstract: Interface to the communications serial gateway.

Version:
1.0
Author:
wbogaardt

Method Summary
 void allCommandToSection(char houseCode, int cmnd)
           
 void clearMacroEvents()
           
 void clearTimerMacros()
           
 void closeSerialPort()
           
 void connectPortToX10Gateway(SerialPortBean bean, int device)
           
 void connectSerialOnStartup(boolean s)
           
 void deviceCommands(IX10Module x10evt, int cmnd)
           
 boolean disableMonitorCM11A()
           
 void enableSpeechEngine(boolean bV)
           
 java.util.Vector getAvailablePorts()
           
 int getBatteryUsage()
           
 java.util.Calendar getCM11ADate()
           
 boolean getConnectSerialOnStartup()
           
 EmailHeaderBean getEmailInformation()
           
 java.util.ResourceBundle getI18n()
           
 int getInterfaceType()
           
 java.util.Locale getLocal()
           
 java.lang.String getLookAndFeel()
           
 SerialPortBean getSerialPort()
           
 boolean isAutoRecoverCM11A()
           
 boolean isEventDaemonRunning()
           
 boolean isPortActive()
           
 boolean isSpeechEnabled()
           
 void lampIntensity(IX10Module x10Evt, int cmnd, int units)
           
 boolean monitorCM11A()
           
 void recoverCM11A(boolean value)
           
 boolean runEventsDaemon(java.util.Vector table)
           
 void saveServerProperty()
           
 void sendMacrosToInterface(java.util.Vector v)
           
 void setClock(java.util.Calendar calendar, char houseCode, boolean batteryTimer, boolean clrMonitored, boolean purgeTimer)
           
 void setEmailInformation(EmailHeaderBean bean)
           
 void setInterfaceType(int i)
           
 void setLocal(java.util.Locale loc)
           
 void setLookAndFeel(java.lang.String s)
           
 void setMonitorModel(MonitorTableModel mModel)
           
 void setSerialPort(SerialPortBean bean)
           
 void speakMessage(java.lang.String messages)
           
 void stopEventsDaemon()
           
 void updateCM11AStatus()
           
 

Method Detail

getAvailablePorts

public java.util.Vector getAvailablePorts()
                                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isPortActive

public boolean isPortActive()
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

connectPortToX10Gateway

public void connectPortToX10Gateway(SerialPortBean bean,
                                    int device)
                             throws java.rmi.RemoteException,
                                    HomeException
Throws:
java.rmi.RemoteException
HomeException

closeSerialPort

public void closeSerialPort()
                     throws java.rmi.RemoteException,
                            HomeException
Throws:
java.rmi.RemoteException
HomeException

connectSerialOnStartup

public void connectSerialOnStartup(boolean s)
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getConnectSerialOnStartup

public boolean getConnectSerialOnStartup()
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

allCommandToSection

public void allCommandToSection(char houseCode,
                                int cmnd)
                         throws java.rmi.RemoteException,
                                HomeException
Throws:
java.rmi.RemoteException
HomeException

lampIntensity

public void lampIntensity(IX10Module x10Evt,
                          int cmnd,
                          int units)
                   throws java.rmi.RemoteException,
                          HomeException
Throws:
java.rmi.RemoteException
HomeException

deviceCommands

public void deviceCommands(IX10Module x10evt,
                           int cmnd)
                    throws java.rmi.RemoteException,
                           HomeException
Throws:
java.rmi.RemoteException
HomeException

setClock

public void setClock(java.util.Calendar calendar,
                     char houseCode,
                     boolean batteryTimer,
                     boolean clrMonitored,
                     boolean purgeTimer)
              throws java.rmi.RemoteException,
                     HomeException
Throws:
java.rmi.RemoteException
HomeException

monitorCM11A

public boolean monitorCM11A()
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

disableMonitorCM11A

public boolean disableMonitorCM11A()
                            throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setMonitorModel

public void setMonitorModel(MonitorTableModel mModel)
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

recoverCM11A

public void recoverCM11A(boolean value)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isAutoRecoverCM11A

public boolean isAutoRecoverCM11A()
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getCM11ADate

public java.util.Calendar getCM11ADate()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateCM11AStatus

public void updateCM11AStatus()
                       throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getBatteryUsage

public int getBatteryUsage()
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

clearTimerMacros

public void clearTimerMacros()
                      throws java.rmi.RemoteException,
                             HomeException
Throws:
java.rmi.RemoteException
HomeException

clearMacroEvents

public void clearMacroEvents()
                      throws java.rmi.RemoteException,
                             HomeException
Throws:
java.rmi.RemoteException
HomeException

sendMacrosToInterface

public void sendMacrosToInterface(java.util.Vector v)
                           throws java.rmi.RemoteException,
                                  HomeException
Throws:
java.rmi.RemoteException
HomeException

getSerialPort

public SerialPortBean getSerialPort()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setSerialPort

public void setSerialPort(SerialPortBean bean)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setInterfaceType

public void setInterfaceType(int i)
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getInterfaceType

public int getInterfaceType()
                     throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

saveServerProperty

public void saveServerProperty()
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getI18n

public java.util.ResourceBundle getI18n()
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getLookAndFeel

public java.lang.String getLookAndFeel()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setLookAndFeel

public void setLookAndFeel(java.lang.String s)
                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

runEventsDaemon

public boolean runEventsDaemon(java.util.Vector table)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

stopEventsDaemon

public void stopEventsDaemon()
                      throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isEventDaemonRunning

public boolean isEventDaemonRunning()
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

isSpeechEnabled

public boolean isSpeechEnabled()
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

enableSpeechEngine

public void enableSpeechEngine(boolean bV)
                        throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

speakMessage

public void speakMessage(java.lang.String messages)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getLocal

public java.util.Locale getLocal()
                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setLocal

public void setLocal(java.util.Locale loc)
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getEmailInformation

public EmailHeaderBean getEmailInformation()
                                    throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setEmailInformation

public void setEmailInformation(EmailHeaderBean bean)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.