com.prosysopc.ua
Enum UaApplication.DiagnosticMask

java.lang.Object
  extended by java.lang.Enum<UaApplication.DiagnosticMask>
      extended by com.prosysopc.ua.UaApplication.DiagnosticMask
All Implemented Interfaces:
Serializable, Comparable<UaApplication.DiagnosticMask>
Enclosing class:
UaApplication

public static enum UaApplication.DiagnosticMask
extends Enum<UaApplication.DiagnosticMask>

Bits values used to mask the types of vendor-specific diagnostics. The server can be requested to return the respective diagnosticInfos in the response parameters of service calls.

See Also:
UaClient.setServiceDiagnosticMask(java.util.EnumSet), UaClient.setOperationDiagnosticMask(java.util.EnumSet)

Enum Constant Summary
AdditionalInfo
          return a byte string that contains additional diagnostic information, such as a memory image.
InnerDiagnostics
          return the inner diagnostic info associated with the operation or Service.
InnerStatusCode
          return the inner StatusCode associated with the operation or Service.
LocalizedText
          return up to 256 bytes of localized text that describes the symbolic id.
SymbolicId
          return a namespace-qualified, symbolic identifier for an error or condition.
 
Method Summary
 int getValue()
           
static UaApplication.DiagnosticMask valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UaApplication.DiagnosticMask[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AdditionalInfo

public static final UaApplication.DiagnosticMask AdditionalInfo
return a byte string that contains additional diagnostic information, such as a memory image. The format of this byte string is vendor-specific, and may depend on the type of error or condition encountered.


InnerDiagnostics

public static final UaApplication.DiagnosticMask InnerDiagnostics
return the inner diagnostic info associated with the operation or Service. The contents of the inner diagnostic info structure are determined by other bits in the mask. Note that setting this bit could cause multiple levels of nested diagnostic info structures to be returned.


InnerStatusCode

public static final UaApplication.DiagnosticMask InnerStatusCode
return the inner StatusCode associated with the operation or Service.


LocalizedText

public static final UaApplication.DiagnosticMask LocalizedText
return up to 256 bytes of localized text that describes the symbolic id.


SymbolicId

public static final UaApplication.DiagnosticMask SymbolicId
return a namespace-qualified, symbolic identifier for an error or condition. The maximum length of this identifier is 32 characters.

Method Detail

values

public static UaApplication.DiagnosticMask[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (UaApplication.DiagnosticMask c : UaApplication.DiagnosticMask.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UaApplication.DiagnosticMask valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public int getValue()


Copyright © 2018. All rights reserved.