Enum Class ServerConnectionMode

java.lang.Object
java.lang.Enum<ServerConnectionMode>
com.thecoderscorner.menu.mgr.ServerConnectionMode
All Implemented Interfaces:
Serializable, Comparable<ServerConnectionMode>, java.lang.constant.Constable

public enum ServerConnectionMode extends Enum<ServerConnectionMode>
  • Enum Constant Details

    • PAIRING

      public static final ServerConnectionMode PAIRING
      A connection that can be used only for pairing and nothing else
    • UNAUTHENTICATED

      public static final ServerConnectionMode UNAUTHENTICATED
      A connection that is not yet authenticated
    • AUTHENTICATED

      public static final ServerConnectionMode AUTHENTICATED
      A fully authenticated connection
    • DISCONNECTED

      public static final ServerConnectionMode DISCONNECTED
      The connection with the remote has been lost
  • Method Details

    • values

      public static ServerConnectionMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ServerConnectionMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null