/* * Created on Apr 29, 2005 */ package rmi; import java.rmi.Remote; import java.rmi.RemoteException; /** * @author Ali KIZIL * Distributed MATLAB Server Pages Engine Architecture. * This package allows you to use your web server as a * RMI client or server. */ public interface goOnlineRmiInterface extends Remote { public void clean() throws RemoteException; public void command(String cmd) throws RemoteException; public void engineOpen() throws RemoteException; public void engineClose() throws RemoteException; public void evalMFile(String name) throws RemoteException; public void evalMDL(String modelname, String loadname, String savename) throws RemoteException; public void getArray(String name) throws RemoteException; public void getVector(String name) throws RemoteException; public void getScalar(String name) throws RemoteException; public void getCharArray(String name) throws RemoteException; public double[][] getArray() throws RemoteException; public String[] getChararray() throws RemoteException; public double getScalar() throws RemoteException; public double[] getVector() throws RemoteException; public void multiCommand(String text) throws RemoteException; public String plotData(String cmd, String handle, String filename) throws RemoteException; public String plotModel(String simname, String orientation, String filename) throws RemoteException; public String plotSim(String handle, String simresult, String filename) throws RemoteException; public void putArray(String variable) throws RemoteException; public void putVector(String variable) throws RemoteException; public void putScalar(String variable) throws RemoteException; public void setArray(double[][] array) throws RemoteException; public void setChararray(String[] chararray) throws RemoteException; public void setScalar(double scalar) throws RemoteException; public void setVector(double[] vector) throws RemoteException; public String thumbnail(String imagename, String width, String height) throws RemoteException; }