Class TransactionDiagnosticsTypeNode

All Implemented Interfaces:
BaseObjectType, TransactionDiagnosticsType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode

public class TransactionDiagnosticsTypeNode extends BaseObjectTypeNode implements TransactionDiagnosticsType
  • Constructor Details

    • TransactionDiagnosticsTypeNode

      public TransactionDiagnosticsTypeNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
  • Method Details

    • getStartTime

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getStartTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the local value of the StartTime Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getStartTime in interface TransactionDiagnosticsType
      Returns:
      the local value of the StartTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the StartTime Node.
    • setStartTime

      public void setStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Set the local value of the StartTime Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setStartTime in interface TransactionDiagnosticsType
      Parameters:
      value - the local value to set for the StartTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the StartTime Node.
    • readStartTime

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readStartTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Read the value of the StartTime Node from the server and update the local value if the operation succeeds.
      Specified by:
      readStartTime in interface TransactionDiagnosticsType
      Returns:
      the DateTime value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeStartTime

      public void writeStartTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Write a new value for the StartTime Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeStartTime in interface TransactionDiagnosticsType
      Parameters:
      value - the DateTime value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readStartTimeAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readStartTimeAsync()
      Description copied from interface: TransactionDiagnosticsType
      An asynchronous implementation of TransactionDiagnosticsType.readStartTime().
      Specified by:
      readStartTimeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeStartTimeAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeStartTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime startTime)
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      writeStartTimeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getStartTimeNode

      public PropertyTypeNode getStartTimeNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the StartTime PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getStartTimeNode in interface TransactionDiagnosticsType
      Returns:
      the StartTime PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getStartTimeNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getStartTimeNodeAsync()
      Description copied from interface: TransactionDiagnosticsType
      Asynchronous implementation of TransactionDiagnosticsType.getStartTimeNode().
      Specified by:
      getStartTimeNodeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getEndTime

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getEndTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the local value of the EndTime Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getEndTime in interface TransactionDiagnosticsType
      Returns:
      the local value of the EndTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EndTime Node.
    • setEndTime

      public void setEndTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Set the local value of the EndTime Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setEndTime in interface TransactionDiagnosticsType
      Parameters:
      value - the local value to set for the EndTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EndTime Node.
    • readEndTime

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readEndTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Read the value of the EndTime Node from the server and update the local value if the operation succeeds.
      Specified by:
      readEndTime in interface TransactionDiagnosticsType
      Returns:
      the DateTime value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeEndTime

      public void writeEndTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Write a new value for the EndTime Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeEndTime in interface TransactionDiagnosticsType
      Parameters:
      value - the DateTime value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readEndTimeAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readEndTimeAsync()
      Description copied from interface: TransactionDiagnosticsType
      An asynchronous implementation of TransactionDiagnosticsType.readEndTime().
      Specified by:
      readEndTimeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeEndTimeAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEndTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime endTime)
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      writeEndTimeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getEndTimeNode

      public PropertyTypeNode getEndTimeNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the EndTime PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getEndTimeNode in interface TransactionDiagnosticsType
      Returns:
      the EndTime PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getEndTimeNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getEndTimeNodeAsync()
      Description copied from interface: TransactionDiagnosticsType
      Asynchronous implementation of TransactionDiagnosticsType.getEndTimeNode().
      Specified by:
      getEndTimeNodeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getResult

      public org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode getResult() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the local value of the Result Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getResult in interface TransactionDiagnosticsType
      Returns:
      the local value of the Result Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Result Node.
    • setResult

      public void setResult(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Set the local value of the Result Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setResult in interface TransactionDiagnosticsType
      Parameters:
      value - the local value to set for the Result Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Result Node.
    • readResult

      public org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode readResult() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Read the value of the Result Node from the server and update the local value if the operation succeeds.
      Specified by:
      readResult in interface TransactionDiagnosticsType
      Returns:
      the StatusCode value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeResult

      public void writeResult(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Write a new value for the Result Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeResult in interface TransactionDiagnosticsType
      Parameters:
      value - the StatusCode value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readResultAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> readResultAsync()
      Description copied from interface: TransactionDiagnosticsType
      An asynchronous implementation of TransactionDiagnosticsType.readResult().
      Specified by:
      readResultAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeResultAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeResultAsync(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode result)
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      writeResultAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getResultNode

      public PropertyTypeNode getResultNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the Result PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getResultNode in interface TransactionDiagnosticsType
      Returns:
      the Result PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getResultNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getResultNodeAsync()
      Description copied from interface: TransactionDiagnosticsType
      Asynchronous implementation of TransactionDiagnosticsType.getResultNode().
      Specified by:
      getResultNodeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getAffectedTrustLists

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] getAffectedTrustLists() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the local value of the AffectedTrustLists Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getAffectedTrustLists in interface TransactionDiagnosticsType
      Returns:
      the local value of the AffectedTrustLists Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AffectedTrustLists Node.
    • setAffectedTrustLists

      public void setAffectedTrustLists(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Set the local value of the AffectedTrustLists Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setAffectedTrustLists in interface TransactionDiagnosticsType
      Parameters:
      value - the local value to set for the AffectedTrustLists Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AffectedTrustLists Node.
    • readAffectedTrustLists

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] readAffectedTrustLists() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Read the value of the AffectedTrustLists Node from the server and update the local value if the operation succeeds.
      Specified by:
      readAffectedTrustLists in interface TransactionDiagnosticsType
      Returns:
      the NodeId value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeAffectedTrustLists

      public void writeAffectedTrustLists(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Write a new value for the AffectedTrustLists Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeAffectedTrustLists in interface TransactionDiagnosticsType
      Parameters:
      value - the NodeId value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readAffectedTrustListsAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]> readAffectedTrustListsAsync()
      Description copied from interface: TransactionDiagnosticsType
      An asynchronous implementation of TransactionDiagnosticsType.readAffectedTrustLists().
      Specified by:
      readAffectedTrustListsAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeAffectedTrustListsAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAffectedTrustListsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] affectedTrustLists)
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      writeAffectedTrustListsAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getAffectedTrustListsNode

      public PropertyTypeNode getAffectedTrustListsNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the AffectedTrustLists PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getAffectedTrustListsNode in interface TransactionDiagnosticsType
      Returns:
      the AffectedTrustLists PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getAffectedTrustListsNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getAffectedTrustListsNodeAsync()
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      getAffectedTrustListsNodeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getAffectedCertificateGroups

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] getAffectedCertificateGroups() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the local value of the AffectedCertificateGroups Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getAffectedCertificateGroups in interface TransactionDiagnosticsType
      Returns:
      the local value of the AffectedCertificateGroups Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AffectedCertificateGroups Node.
    • setAffectedCertificateGroups

      public void setAffectedCertificateGroups(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Set the local value of the AffectedCertificateGroups Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setAffectedCertificateGroups in interface TransactionDiagnosticsType
      Parameters:
      value - the local value to set for the AffectedCertificateGroups Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AffectedCertificateGroups Node.
    • readAffectedCertificateGroups

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] readAffectedCertificateGroups() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Read the value of the AffectedCertificateGroups Node from the server and update the local value if the operation succeeds.
      Specified by:
      readAffectedCertificateGroups in interface TransactionDiagnosticsType
      Returns:
      the NodeId value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeAffectedCertificateGroups

      public void writeAffectedCertificateGroups(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Write a new value for the AffectedCertificateGroups Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeAffectedCertificateGroups in interface TransactionDiagnosticsType
      Parameters:
      value - the NodeId value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readAffectedCertificateGroupsAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[]> readAffectedCertificateGroupsAsync()
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      readAffectedCertificateGroupsAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeAffectedCertificateGroupsAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAffectedCertificateGroupsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId[] affectedCertificateGroups)
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      writeAffectedCertificateGroupsAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getAffectedCertificateGroupsNode

      public PropertyTypeNode getAffectedCertificateGroupsNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the AffectedCertificateGroups PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getAffectedCertificateGroupsNode in interface TransactionDiagnosticsType
      Returns:
      the AffectedCertificateGroups PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getAffectedCertificateGroupsNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getAffectedCertificateGroupsNodeAsync()
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      getAffectedCertificateGroupsNodeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getErrors

      public org.eclipse.milo.opcua.stack.core.types.structured.TransactionErrorType[] getErrors() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the local value of the Errors Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getErrors in interface TransactionDiagnosticsType
      Returns:
      the local value of the Errors Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Errors Node.
    • setErrors

      public void setErrors(org.eclipse.milo.opcua.stack.core.types.structured.TransactionErrorType[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Set the local value of the Errors Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setErrors in interface TransactionDiagnosticsType
      Parameters:
      value - the local value to set for the Errors Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Errors Node.
    • readErrors

      public org.eclipse.milo.opcua.stack.core.types.structured.TransactionErrorType[] readErrors() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Read the value of the Errors Node from the server and update the local value if the operation succeeds.
      Specified by:
      readErrors in interface TransactionDiagnosticsType
      Returns:
      the TransactionErrorType value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeErrors

      public void writeErrors(org.eclipse.milo.opcua.stack.core.types.structured.TransactionErrorType[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Write a new value for the Errors Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeErrors in interface TransactionDiagnosticsType
      Parameters:
      value - the TransactionErrorType value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readErrorsAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.TransactionErrorType[]> readErrorsAsync()
      Description copied from interface: TransactionDiagnosticsType
      An asynchronous implementation of TransactionDiagnosticsType.readErrors().
      Specified by:
      readErrorsAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeErrorsAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeErrorsAsync(org.eclipse.milo.opcua.stack.core.types.structured.TransactionErrorType[] errors)
      Description copied from interface: TransactionDiagnosticsType
      Specified by:
      writeErrorsAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getErrorsNode

      public PropertyTypeNode getErrorsNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: TransactionDiagnosticsType
      Get the Errors PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getErrorsNode in interface TransactionDiagnosticsType
      Returns:
      the Errors PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getErrorsNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getErrorsNodeAsync()
      Description copied from interface: TransactionDiagnosticsType
      Asynchronous implementation of TransactionDiagnosticsType.getErrorsNode().
      Specified by:
      getErrorsNodeAsync in interface TransactionDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.