Class RemoteKeys

  • All Implemented Interfaces:
    Keys

    public class RemoteKeys
    extends java.lang.Object
    implements Keys
    • Constructor Detail

      • RemoteKeys

        public RemoteKeys​(RMIKeys keys)
    • Method Detail

      • discardEvents

        public void discardEvents()
        Specified by:
        discardEvents in interface Keys
      • waitForAnyEvent

        public int waitForAnyEvent()
        Specified by:
        waitForAnyEvent in interface Keys
      • waitForAnyEvent

        public int waitForAnyEvent​(int timeout)
        Specified by:
        waitForAnyEvent in interface Keys
      • waitForAnyPress

        public int waitForAnyPress​(int timeout)
        Specified by:
        waitForAnyPress in interface Keys
      • waitForAnyPress

        public int waitForAnyPress()
        Specified by:
        waitForAnyPress in interface Keys
      • getButtons

        public int getButtons()
        Specified by:
        getButtons in interface Keys
      • readButtons

        public int readButtons()
        Specified by:
        readButtons in interface Keys
      • setKeyClickVolume

        public void setKeyClickVolume​(int vol)
        Specified by:
        setKeyClickVolume in interface Keys
      • setKeyClickLength

        public void setKeyClickLength​(int len)
        Specified by:
        setKeyClickLength in interface Keys
      • setKeyClickTone

        public void setKeyClickTone​(int key,
                                    int freq)
        Specified by:
        setKeyClickTone in interface Keys
      • getKeyClickTone

        public int getKeyClickTone​(int key)
        Specified by:
        getKeyClickTone in interface Keys