lejos.remote.ev3.RMIMenu Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lejos-ev3-api Show documentation
Show all versions of lejos-ev3-api Show documentation
leJOS (pronounced like the Spanish word "lejos" for "far") is a tiny Java Virtual Machine. In 2013 it was ported to the LEGO EV3 brick.
The newest version!
package lejos.remote.ev3;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface RMIMenu extends Remote {
public void runProgram(String programName) throws RemoteException;
public void debugProgram(String programName) throws RemoteException;
public void runSample(String programName) throws RemoteException;
public void stopProgram() throws RemoteException;
public boolean deleteFile(String fileName) throws RemoteException;
public long getFileSize(String fileName) throws RemoteException;
public String[] getProgramNames() throws RemoteException;
public String[] getSampleNames() throws RemoteException;
public boolean uploadFile(String fileName, byte[] contents) throws RemoteException;
public byte[] fetchFile(String fileName) throws RemoteException;
public String getSetting(String setting) throws RemoteException;
public void setSetting(String setting, String value) throws RemoteException;
public void deleteAllPrograms() throws RemoteException;
public String getVersion() throws RemoteException;
public String getMenuVersion() throws RemoteException;
public String getName() throws RemoteException;
public void setName(String name) throws RemoteException;
public void configureWifi(String ssid, String pwd) throws RemoteException;
public String getExecutingProgramName() throws RemoteException;
public void shutdown() throws RemoteException;
public void suspend() throws RemoteException;
public void resume() throws RemoteException;
}