Package lejos.remote.ev3
Interface RMIMenu
-
- All Superinterfaces:
java.rmi.Remote
public interface RMIMenu extends java.rmi.Remote
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigureWifi(java.lang.String ssid, java.lang.String pwd)voiddebugProgram(java.lang.String programName)voiddeleteAllPrograms()booleandeleteFile(java.lang.String fileName)byte[]fetchFile(java.lang.String fileName)java.lang.StringgetExecutingProgramName()longgetFileSize(java.lang.String fileName)java.lang.StringgetMenuVersion()java.lang.StringgetName()java.lang.String[]getProgramNames()java.lang.String[]getSampleNames()java.lang.StringgetSetting(java.lang.String setting)java.lang.StringgetVersion()voidresume()voidrunProgram(java.lang.String programName)voidrunSample(java.lang.String programName)voidsetName(java.lang.String name)voidsetSetting(java.lang.String setting, java.lang.String value)voidshutdown()voidstopProgram()voidsuspend()booleanuploadFile(java.lang.String fileName, byte[] contents)
-
-
-
Method Detail
-
runProgram
void runProgram(java.lang.String programName) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
debugProgram
void debugProgram(java.lang.String programName) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
runSample
void runSample(java.lang.String programName) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
stopProgram
void stopProgram() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
deleteFile
boolean deleteFile(java.lang.String fileName) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
getFileSize
long getFileSize(java.lang.String fileName) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
getProgramNames
java.lang.String[] getProgramNames() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
getSampleNames
java.lang.String[] getSampleNames() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
uploadFile
boolean uploadFile(java.lang.String fileName, byte[] contents) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
fetchFile
byte[] fetchFile(java.lang.String fileName) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
getSetting
java.lang.String getSetting(java.lang.String setting) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
setSetting
void setSetting(java.lang.String setting, java.lang.String value) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
deleteAllPrograms
void deleteAllPrograms() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
getVersion
java.lang.String getVersion() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
getMenuVersion
java.lang.String getMenuVersion() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
getName
java.lang.String getName() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
setName
void setName(java.lang.String name) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
configureWifi
void configureWifi(java.lang.String ssid, java.lang.String pwd) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
getExecutingProgramName
java.lang.String getExecutingProgramName() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
shutdown
void shutdown() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
suspend
void suspend() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
resume
void resume() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
-