Class 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 Detail

      • RMIRemoteKeys

        protected RMIRemoteKeys()
                         throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • discardEvents

        public void discardEvents()
                           throws java.rmi.RemoteException
        Specified by:
        discardEvents in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • waitForAnyEvent

        public int waitForAnyEvent()
                            throws java.rmi.RemoteException
        Specified by:
        waitForAnyEvent in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • waitForAnyEvent

        public int waitForAnyEvent​(int timeout)
                            throws java.rmi.RemoteException
        Specified by:
        waitForAnyEvent in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • waitForAnyPress

        public int waitForAnyPress​(int timeout)
                            throws java.rmi.RemoteException
        Specified by:
        waitForAnyPress in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • waitForAnyPress

        public int waitForAnyPress()
                            throws java.rmi.RemoteException
        Specified by:
        waitForAnyPress in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • getButtons

        public int getButtons()
                       throws java.rmi.RemoteException
        Specified by:
        getButtons in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • readButtons

        public int readButtons()
                        throws java.rmi.RemoteException
        Specified by:
        readButtons in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • setKeyClickVolume

        public void setKeyClickVolume​(int vol)
                               throws java.rmi.RemoteException
        Specified by:
        setKeyClickVolume in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • getKeyClickVolume

        public int getKeyClickVolume()
                              throws java.rmi.RemoteException
        Specified by:
        getKeyClickVolume in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • setKeyClickLength

        public void setKeyClickLength​(int len)
                               throws java.rmi.RemoteException
        Specified by:
        setKeyClickLength in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • getKeyClickLength

        public int getKeyClickLength()
                              throws java.rmi.RemoteException
        Specified by:
        getKeyClickLength in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • setKeyClickTone

        public void setKeyClickTone​(int key,
                                    int freq)
                             throws java.rmi.RemoteException
        Specified by:
        setKeyClickTone in interface RMIKeys
        Throws:
        java.rmi.RemoteException
      • getKeyClickTone

        public int getKeyClickTone​(int key)
                            throws java.rmi.RemoteException
        Specified by:
        getKeyClickTone in interface RMIKeys
        Throws:
        java.rmi.RemoteException