Class RegistrationManager


  • public final class RegistrationManager
    extends Object
    Registration Manager
    Author:
    Kiyut
    • Method Detail

      • getInstance

        public static RegistrationManager getInstance()
        Returns the single instance, creating one if it's the first time this method is called.
        Returns:
        RegistrationManager The single instance.
      • isRegistered

        public boolean isRegistered()
      • register

        public boolean register​(String name,
                                String serialNo)
        Return true if registration success, otherwise false
        Parameters:
        name - the Registered Name
        serialNo - the Serial No
        Returns:
        true if registration success, otherwise false
      • unRegister

        public void unRegister()
      • showReminder

        public void showReminder​(Frame frame)
      • showBetaNotice

        public void showBetaNotice​(Frame frame)
      • elapsedDay

        public int elapsedDay()
      • elapsedChecked

        public int elapsedChecked()
      • checked

        public void checked()