1 package org.wcb.autohome.interfaces; 2 /*** 3 * Copyright (C) 1999 Walter Bogaardt 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 * 19 * Project: Alice X10 Home Automation 20 * Filename: $Id: IDeviceRemote.java,v 1.8 2004/02/28 06:06:40 wbogaardt Exp $ 21 * Abstract: interface for remote methods 22 * 23 * $Log: IDeviceRemote.java,v $ 24 * Revision 1.8 2004/02/28 06:06:40 wbogaardt 25 * *** empty log message *** 26 * 27 * Revision 1.7 2004/02/03 21:02:27 wbogaardt 28 * moved DeviceFactory away from rmi creation and simplified interface between gateway 29 *; 30 */ 31 32 import java.util.Vector; 33 import org.wcb.autohome.interfaces.IMacro; 34 35 public interface IDeviceRemote { 36 37 public void loadFile(String sFilename); 38 39 public boolean saveFile(String sFilename); 40 41 public void createNewFile(); 42 43 public Vector readInX10Devices(); 44 45 public void writeX10Devices(Vector items); 46 47 public Vector readInX10Events(); 48 49 public void writeX10Events(Vector items); 50 51 public void writeAliceMonitors(Vector list); 52 53 public Vector readInX10Macros(); 54 55 public Vector readInAliceMonitors(); 56 57 public Vector loadMacroTriggers(); 58 59 public void saveMacroTriggers(Vector items); 60 61 public void writeMacros(Vector vec); 62 63 public void saveMacro(IMacro mac); 64 65 public void deleteMacro(IMacro mac); 66 67 }