Class LedInfo


  • public class LedInfo
    extends java.lang.Object
    This class contains the LED information of the reader such as LED Color, duration and blink flag
    • Constructor Summary

      Constructors 
      Constructor Description
      LedInfo()
      LoginInfo contructor
      LedInfo​(LED_COLOR ledColor, int durationSeconds, boolean blink)
      Overloaded contructor takes LED Color, ducation and blink flag
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getBlink()
      Gets the Blink Flag of the reader
      int getDurationSeconds()
      Gets the led light on duration of the reader.
      LED_COLOR getLEDColor()
      Gets the LED Color of the reader
      void setBlink​(boolean blink)
      Sets the Blink Flag of the reader
      void setDurationSeconds​(int durationSeconds)
      Sets the led light on duration of the reader.
      void setLEDColor​(LED_COLOR ledColor)
      Sets the LED Color of the reader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LedInfo

        public LedInfo()
        LoginInfo contructor
      • LedInfo

        public LedInfo​(LED_COLOR ledColor,
                       int durationSeconds,
                       boolean blink)
        Overloaded contructor takes LED Color, ducation and blink flag
        Parameters:
        ledColor - Specifies LED Color
        durationSeconds - Duration in Seconds. If zero, the LED blinks continuously
        blink - Specifies LED to be blinked or not
    • Method Detail

      • getLEDColor

        public LED_COLOR getLEDColor()
        Gets the LED Color of the reader
      • setLEDColor

        public void setLEDColor​(LED_COLOR ledColor)
        Sets the LED Color of the reader
      • getBlink

        public boolean getBlink()
        Gets the Blink Flag of the reader
      • setBlink

        public void setBlink​(boolean blink)
        Sets the Blink Flag of the reader
      • getDurationSeconds

        public int getDurationSeconds()
        Gets the led light on duration of the reader.
        Returns:
      • setDurationSeconds

        public void setDurationSeconds​(int durationSeconds)
        Sets the led light on duration of the reader. If zero, the LED blinks continuously
        Parameters:
        durationSeconds -