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, unexportObject
protected RMIRemoteKeys() throws java.rmi.RemoteException
java.rmi.RemoteException
public void discardEvents() throws java.rmi.RemoteException
discardEvents
in interface RMIKeys
java.rmi.RemoteException
public int waitForAnyEvent() throws java.rmi.RemoteException
waitForAnyEvent
in interface RMIKeys
java.rmi.RemoteException
public int waitForAnyEvent(int timeout) throws java.rmi.RemoteException
waitForAnyEvent
in interface RMIKeys
java.rmi.RemoteException
public int waitForAnyPress(int timeout) throws java.rmi.RemoteException
waitForAnyPress
in interface RMIKeys
java.rmi.RemoteException
public int waitForAnyPress() throws java.rmi.RemoteException
waitForAnyPress
in interface RMIKeys
java.rmi.RemoteException
public int getButtons() throws java.rmi.RemoteException
getButtons
in interface RMIKeys
java.rmi.RemoteException
public int readButtons() throws java.rmi.RemoteException
readButtons
in interface RMIKeys
java.rmi.RemoteException
public void setKeyClickVolume(int vol) throws java.rmi.RemoteException
setKeyClickVolume
in interface RMIKeys
java.rmi.RemoteException
public int getKeyClickVolume() throws java.rmi.RemoteException
getKeyClickVolume
in interface RMIKeys
java.rmi.RemoteException
public void setKeyClickLength(int len) throws java.rmi.RemoteException
setKeyClickLength
in interface RMIKeys
java.rmi.RemoteException
public int getKeyClickLength() throws java.rmi.RemoteException
getKeyClickLength
in interface RMIKeys
java.rmi.RemoteException
public void setKeyClickTone(int key, int freq) throws java.rmi.RemoteException
setKeyClickTone
in interface RMIKeys
java.rmi.RemoteException
public int getKeyClickTone(int key) throws java.rmi.RemoteException
getKeyClickTone
in interface RMIKeys
java.rmi.RemoteException