All Implemented Interfaces:
BaseObjectType, PubSubDiagnosticsType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
Direct Known Subclasses:
PubSubDiagnosticsConnectionTypeNode, PubSubDiagnosticsDataSetReaderTypeNode, PubSubDiagnosticsDataSetWriterTypeNode, PubSubDiagnosticsReaderGroupTypeNode, PubSubDiagnosticsRootTypeNode, PubSubDiagnosticsWriterGroupTypeNode

public class PubSubDiagnosticsTypeNode extends BaseObjectTypeNode implements PubSubDiagnosticsType
  • Constructor Details

    • PubSubDiagnosticsTypeNode

      public PubSubDiagnosticsTypeNode(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

    • getDiagnosticsLevel

      public org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel getDiagnosticsLevel() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the local value of the DiagnosticsLevel Node.

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

      Specified by:
      getDiagnosticsLevel in interface PubSubDiagnosticsType
      Returns:
      the local value of the DiagnosticsLevel Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the DiagnosticsLevel Node.
    • setDiagnosticsLevel

      public void setDiagnosticsLevel(org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Set the local value of the DiagnosticsLevel Node.

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

      Specified by:
      setDiagnosticsLevel in interface PubSubDiagnosticsType
      Parameters:
      value - the local value to set for the DiagnosticsLevel Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the DiagnosticsLevel Node.
    • readDiagnosticsLevel

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

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

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.DiagnosticsLevel> readDiagnosticsLevelAsync()
      Description copied from interface: PubSubDiagnosticsType
      An asynchronous implementation of PubSubDiagnosticsType.readDiagnosticsLevel().
      Specified by:
      readDiagnosticsLevelAsync in interface PubSubDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeDiagnosticsLevelAsync

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

      public BaseDataVariableTypeNode getDiagnosticsLevelNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the DiagnosticsLevel BaseDataVariableType Node, or null if it does not exist.

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

      Specified by:
      getDiagnosticsLevelNode in interface PubSubDiagnosticsType
      Returns:
      the DiagnosticsLevel BaseDataVariableType 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.
    • getDiagnosticsLevelNodeAsync

      public CompletableFuture<? extends BaseDataVariableTypeNode> getDiagnosticsLevelNodeAsync()
      Description copied from interface: PubSubDiagnosticsType
      Asynchronous implementation of PubSubDiagnosticsType.getDiagnosticsLevelNode().
      Specified by:
      getDiagnosticsLevelNodeAsync in interface PubSubDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getTotalInformation

      public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getTotalInformation() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the local value of the TotalInformation Node.

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

      Specified by:
      getTotalInformation in interface PubSubDiagnosticsType
      Returns:
      the local value of the TotalInformation Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TotalInformation Node.
    • setTotalInformation

      public void setTotalInformation(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Set the local value of the TotalInformation Node.

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

      Specified by:
      setTotalInformation in interface PubSubDiagnosticsType
      Parameters:
      value - the local value to set for the TotalInformation Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TotalInformation Node.
    • readTotalInformation

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

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

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

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

      public PubSubDiagnosticsCounterTypeNode getTotalInformationNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the TotalInformation PubSubDiagnosticsCounterType Node, or null if it does not exist.

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

      Specified by:
      getTotalInformationNode in interface PubSubDiagnosticsType
      Returns:
      the TotalInformation PubSubDiagnosticsCounterType 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.
    • getTotalInformationNodeAsync

      public CompletableFuture<? extends PubSubDiagnosticsCounterTypeNode> getTotalInformationNodeAsync()
      Description copied from interface: PubSubDiagnosticsType
      Asynchronous implementation of PubSubDiagnosticsType.getTotalInformationNode().
      Specified by:
      getTotalInformationNodeAsync in interface PubSubDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the PubSubDiagnosticsCounterType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getTotalError

      public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getTotalError() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the local value of the TotalError Node.

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

      Specified by:
      getTotalError in interface PubSubDiagnosticsType
      Returns:
      the local value of the TotalError Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TotalError Node.
    • setTotalError

      public void setTotalError(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Set the local value of the TotalError Node.

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

      Specified by:
      setTotalError in interface PubSubDiagnosticsType
      Parameters:
      value - the local value to set for the TotalError Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the TotalError Node.
    • readTotalError

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

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

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

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

      public PubSubDiagnosticsCounterTypeNode getTotalErrorNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the TotalError PubSubDiagnosticsCounterType Node, or null if it does not exist.

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

      Specified by:
      getTotalErrorNode in interface PubSubDiagnosticsType
      Returns:
      the TotalError PubSubDiagnosticsCounterType 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.
    • getTotalErrorNodeAsync

      public CompletableFuture<? extends PubSubDiagnosticsCounterTypeNode> getTotalErrorNodeAsync()
      Description copied from interface: PubSubDiagnosticsType
      Asynchronous implementation of PubSubDiagnosticsType.getTotalErrorNode().
      Specified by:
      getTotalErrorNodeAsync in interface PubSubDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the PubSubDiagnosticsCounterType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getSubError

      public Boolean getSubError() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the local value of the SubError Node.

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

      Specified by:
      getSubError in interface PubSubDiagnosticsType
      Returns:
      the local value of the SubError Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the SubError Node.
    • setSubError

      public void setSubError(Boolean value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Set the local value of the SubError Node.

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

      Specified by:
      setSubError in interface PubSubDiagnosticsType
      Parameters:
      value - the local value to set for the SubError Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the SubError Node.
    • readSubError

      public Boolean readSubError() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Read the value of the SubError Node from the server and update the local value if the operation succeeds.
      Specified by:
      readSubError in interface PubSubDiagnosticsType
      Returns:
      the Boolean value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeSubError

      public void writeSubError(Boolean value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Write a new value for the SubError Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeSubError in interface PubSubDiagnosticsType
      Parameters:
      value - the Boolean value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readSubErrorAsync

      public CompletableFuture<? extends Boolean> readSubErrorAsync()
      Description copied from interface: PubSubDiagnosticsType
      An asynchronous implementation of PubSubDiagnosticsType.readSubError().
      Specified by:
      readSubErrorAsync in interface PubSubDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeSubErrorAsync

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

      public BaseDataVariableTypeNode getSubErrorNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the SubError BaseDataVariableType Node, or null if it does not exist.

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

      Specified by:
      getSubErrorNode in interface PubSubDiagnosticsType
      Returns:
      the SubError BaseDataVariableType 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.
    • getSubErrorNodeAsync

      public CompletableFuture<? extends BaseDataVariableTypeNode> getSubErrorNodeAsync()
      Description copied from interface: PubSubDiagnosticsType
      Asynchronous implementation of PubSubDiagnosticsType.getSubErrorNode().
      Specified by:
      getSubErrorNodeAsync in interface PubSubDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getCountersNode

      public BaseObjectTypeNode getCountersNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the Counters BaseObjectType Node, or null if it does not exist.

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

      Specified by:
      getCountersNode in interface PubSubDiagnosticsType
      Returns:
      the Counters BaseObjectType 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.
    • getCountersNodeAsync

      public CompletableFuture<? extends BaseObjectTypeNode> getCountersNodeAsync()
      Description copied from interface: PubSubDiagnosticsType
      Asynchronous implementation of PubSubDiagnosticsType.getCountersNode().
      Specified by:
      getCountersNodeAsync in interface PubSubDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getLiveValuesNode

      public BaseObjectTypeNode getLiveValuesNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubDiagnosticsType
      Get the LiveValues BaseObjectType Node, or null if it does not exist.

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

      Specified by:
      getLiveValuesNode in interface PubSubDiagnosticsType
      Returns:
      the LiveValues BaseObjectType 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.
    • getLiveValuesNodeAsync

      public CompletableFuture<? extends BaseObjectTypeNode> getLiveValuesNodeAsync()
      Description copied from interface: PubSubDiagnosticsType
      Asynchronous implementation of PubSubDiagnosticsType.getLiveValuesNode().
      Specified by:
      getLiveValuesNodeAsync in interface PubSubDiagnosticsType
      Returns:
      a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.