Enum Class NegotiationStatus
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
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe auto-negotiation protocol has completed successfully.The auto-negotiation protocol has failed.The auto-negotiation protocol is running and negotiation is currently in-progress.No auto-negotiation is executed.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). -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumDefinitionstatic @Nullable NegotiationStatusfrom(int value) Get theExpandedNodeIdidentifying this DataType.intgetValue()Get the numeric value associated with this enumerated value.static NegotiationStatusReturns the enum constant of this class with the specified name.static NegotiationStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.eclipse.milo.opcua.stack.core.types.UaDataType
getTypeNameMethods inherited from interface org.eclipse.milo.opcua.stack.core.types.UaEnumeratedType
getName
-
Enum Constant Details
-
InProgress
The auto-negotiation protocol is running and negotiation is currently in-progress. -
Complete
The auto-negotiation protocol has completed successfully. -
Failed
The auto-negotiation protocol has failed. -
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
No auto-negotiation is executed. The auto-negotiation function is either not supported on this interface or has not been enabled.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()Description copied from interface:UaEnumeratedTypeGet the numeric value associated with this enumerated value.- Specified by:
getValuein interfaceUaEnumeratedType- Returns:
- the numeric value associated with this enumerated value.
-
getTypeId
Description copied from interface:UaDataTypeGet theExpandedNodeIdidentifying this DataType.- Specified by:
getTypeIdin interfaceUaDataType- Returns:
- the
ExpandedNodeIdidentifying this DataType.
-
from
-
definition
-