java.lang.Object
java.lang.Enum<NegotiationStatus>
org.eclipse.milo.opcua.stack.core.types.enumerated.NegotiationStatus
All Implemented Interfaces:
Serializable, Comparable<NegotiationStatus>, Constable, UaDataType, UaEnumeratedType

public enum NegotiationStatus extends Enum<NegotiationStatus> implements UaEnumeratedType
See Also:
  • Enum Constant Details

    • InProgress

      public static final NegotiationStatus InProgress
      The auto-negotiation protocol is running and negotiation is currently in-progress.
    • Complete

      public static final NegotiationStatus Complete
      The auto-negotiation protocol has completed successfully.
    • Failed

      public static final NegotiationStatus Failed
      The auto-negotiation protocol has failed.
    • Unknown

      public static final NegotiationStatus Unknown
      The auto-negotiation status is not currently known, this could be because it is still negotiating or the protocol cannot run (e.g., if no medium is present).
    • NoNegotiation

      public static final NegotiationStatus NoNegotiation
      No auto-negotiation is executed. The auto-negotiation function is either not supported on this interface or has not been enabled.
  • Method Details

    • values

      public static NegotiationStatus[] 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 NegotiationStatus 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
    • getValue

      public int getValue()
      Description copied from interface: UaEnumeratedType
      Get the numeric value associated with this enumerated value.
      Specified by:
      getValue in interface UaEnumeratedType
      Returns:
      the numeric value associated with this enumerated value.
    • getTypeId

      public ExpandedNodeId getTypeId()
      Description copied from interface: UaDataType
      Get the ExpandedNodeId identifying this DataType.
      Specified by:
      getTypeId in interface UaDataType
      Returns:
      the ExpandedNodeId identifying this DataType.
    • from

      public static @Nullable NegotiationStatus from(int value)
    • definition

      public static EnumDefinition definition()