public class RMIRemoteKeys extends java.rmi.server.UnicastRemoteObject implements RMIKeys
| Modifier | Constructor and Description |
|---|---|
protected |
RMIRemoteKeys() |
| Modifier and Type | Method and Description |
|---|---|
void |
discardEvents() |
int |
getButtons() |
int |
getKeyClickLength() |
int |
getKeyClickTone(int key) |
int |
getKeyClickVolume() |
int |
readButtons() |
void |
setKeyClickLength(int len) |
void |
setKeyClickTone(int key,
int freq) |
void |
setKeyClickVolume(int vol) |
int |
waitForAnyEvent() |
int |
waitForAnyEvent(int timeout) |
int |
waitForAnyPress() |
int |
waitForAnyPress(int timeout) |
clone, exportObject, exportObject, exportObject, unexportObjectprotected RMIRemoteKeys()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void discardEvents()
throws java.rmi.RemoteException
discardEvents in interface RMIKeysjava.rmi.RemoteExceptionpublic int waitForAnyEvent()
throws java.rmi.RemoteException
waitForAnyEvent in interface RMIKeysjava.rmi.RemoteExceptionpublic int waitForAnyEvent(int timeout)
throws java.rmi.RemoteException
waitForAnyEvent in interface RMIKeysjava.rmi.RemoteExceptionpublic int waitForAnyPress(int timeout)
throws java.rmi.RemoteException
waitForAnyPress in interface RMIKeysjava.rmi.RemoteExceptionpublic int waitForAnyPress()
throws java.rmi.RemoteException
waitForAnyPress in interface RMIKeysjava.rmi.RemoteExceptionpublic int getButtons()
throws java.rmi.RemoteException
getButtons in interface RMIKeysjava.rmi.RemoteExceptionpublic int readButtons()
throws java.rmi.RemoteException
readButtons in interface RMIKeysjava.rmi.RemoteExceptionpublic void setKeyClickVolume(int vol)
throws java.rmi.RemoteException
setKeyClickVolume in interface RMIKeysjava.rmi.RemoteExceptionpublic int getKeyClickVolume()
throws java.rmi.RemoteException
getKeyClickVolume in interface RMIKeysjava.rmi.RemoteExceptionpublic void setKeyClickLength(int len)
throws java.rmi.RemoteException
setKeyClickLength in interface RMIKeysjava.rmi.RemoteExceptionpublic int getKeyClickLength()
throws java.rmi.RemoteException
getKeyClickLength in interface RMIKeysjava.rmi.RemoteExceptionpublic void setKeyClickTone(int key,
int freq)
throws java.rmi.RemoteException
setKeyClickTone in interface RMIKeysjava.rmi.RemoteExceptionpublic int getKeyClickTone(int key)
throws java.rmi.RemoteException
getKeyClickTone in interface RMIKeysjava.rmi.RemoteException