Package lejos.remote.ev3
Class RMIRemoteKeys
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- lejos.remote.ev3.RMIRemoteKeys
-
- All Implemented Interfaces:
java.io.Serializable,java.rmi.Remote,RMIKeys
public class RMIRemoteKeys extends java.rmi.server.UnicastRemoteObject implements RMIKeys
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRMIRemoteKeys()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddiscardEvents()intgetButtons()intgetKeyClickLength()intgetKeyClickTone(int key)intgetKeyClickVolume()intreadButtons()voidsetKeyClickLength(int len)voidsetKeyClickTone(int key, int freq)voidsetKeyClickVolume(int vol)intwaitForAnyEvent()intwaitForAnyEvent(int timeout)intwaitForAnyPress()intwaitForAnyPress(int timeout)-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
-
-
-
Method Detail
-
discardEvents
public void discardEvents() throws java.rmi.RemoteException- Specified by:
discardEventsin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
waitForAnyEvent
public int waitForAnyEvent() throws java.rmi.RemoteException- Specified by:
waitForAnyEventin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
waitForAnyEvent
public int waitForAnyEvent(int timeout) throws java.rmi.RemoteException- Specified by:
waitForAnyEventin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
waitForAnyPress
public int waitForAnyPress(int timeout) throws java.rmi.RemoteException- Specified by:
waitForAnyPressin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
waitForAnyPress
public int waitForAnyPress() throws java.rmi.RemoteException- Specified by:
waitForAnyPressin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
getButtons
public int getButtons() throws java.rmi.RemoteException- Specified by:
getButtonsin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
readButtons
public int readButtons() throws java.rmi.RemoteException- Specified by:
readButtonsin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
setKeyClickVolume
public void setKeyClickVolume(int vol) throws java.rmi.RemoteException- Specified by:
setKeyClickVolumein interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
getKeyClickVolume
public int getKeyClickVolume() throws java.rmi.RemoteException- Specified by:
getKeyClickVolumein interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
setKeyClickLength
public void setKeyClickLength(int len) throws java.rmi.RemoteException- Specified by:
setKeyClickLengthin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
getKeyClickLength
public int getKeyClickLength() throws java.rmi.RemoteException- Specified by:
getKeyClickLengthin interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
setKeyClickTone
public void setKeyClickTone(int key, int freq) throws java.rmi.RemoteException- Specified by:
setKeyClickTonein interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
getKeyClickTone
public int getKeyClickTone(int key) throws java.rmi.RemoteException- Specified by:
getKeyClickTonein interfaceRMIKeys- Throws:
java.rmi.RemoteException
-
-