All Implemented Interfaces:
AlarmStateVariableType, BaseDataVariableType, BaseVariableType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.VariableNode

public class AlarmStateVariableTypeNode extends BaseDataVariableTypeNode implements AlarmStateVariableType
  • Constructor Details

    • AlarmStateVariableTypeNode

      public AlarmStateVariableTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx)
  • Method Details

    • getHighestActiveSeverity

      public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort getHighestActiveSeverity() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Get the local value of the HighestActiveSeverity Node.

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

      Specified by:
      getHighestActiveSeverity in interface AlarmStateVariableType
      Returns:
      the local value of the HighestActiveSeverity Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the HighestActiveSeverity Node.
    • setHighestActiveSeverity

      public void setHighestActiveSeverity(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Set the local value of the HighestActiveSeverity Node.

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

      Specified by:
      setHighestActiveSeverity in interface AlarmStateVariableType
      Parameters:
      value - the local value to set for the HighestActiveSeverity Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the HighestActiveSeverity Node.
    • readHighestActiveSeverity

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

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

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

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

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

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

      Specified by:
      getHighestActiveSeverityNode in interface AlarmStateVariableType
      Returns:
      the HighestActiveSeverity 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.
    • getHighestActiveSeverityNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort getHighestUnackSeverity() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Get the local value of the HighestUnackSeverity Node.

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

      Specified by:
      getHighestUnackSeverity in interface AlarmStateVariableType
      Returns:
      the local value of the HighestUnackSeverity Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the HighestUnackSeverity Node.
    • setHighestUnackSeverity

      public void setHighestUnackSeverity(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Set the local value of the HighestUnackSeverity Node.

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

      Specified by:
      setHighestUnackSeverity in interface AlarmStateVariableType
      Parameters:
      value - the local value to set for the HighestUnackSeverity Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the HighestUnackSeverity Node.
    • readHighestUnackSeverity

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

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

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

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

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

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

      Specified by:
      getHighestUnackSeverityNode in interface AlarmStateVariableType
      Returns:
      the HighestUnackSeverity 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.
    • getHighestUnackSeverityNodeAsync

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

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

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

      Specified by:
      getActiveCount in interface AlarmStateVariableType
      Returns:
      the local value of the ActiveCount Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ActiveCount Node.
    • setActiveCount

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

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

      Specified by:
      setActiveCount in interface AlarmStateVariableType
      Parameters:
      value - the local value to set for the ActiveCount Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ActiveCount Node.
    • readActiveCount

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

      public void writeActiveCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Write a new value for the ActiveCount Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeActiveCount in interface AlarmStateVariableType
      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.
    • readActiveCountAsync

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

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

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

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

      Specified by:
      getActiveCountNode in interface AlarmStateVariableType
      Returns:
      the ActiveCount 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.
    • getActiveCountNodeAsync

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

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

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

      Specified by:
      getUnacknowledgedCount in interface AlarmStateVariableType
      Returns:
      the local value of the UnacknowledgedCount Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UnacknowledgedCount Node.
    • setUnacknowledgedCount

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

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

      Specified by:
      setUnacknowledgedCount in interface AlarmStateVariableType
      Parameters:
      value - the local value to set for the UnacknowledgedCount Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UnacknowledgedCount Node.
    • readUnacknowledgedCount

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

      public void writeUnacknowledgedCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Write a new value for the UnacknowledgedCount Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeUnacknowledgedCount in interface AlarmStateVariableType
      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.
    • readUnacknowledgedCountAsync

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

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

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

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

      Specified by:
      getUnacknowledgedCountNode in interface AlarmStateVariableType
      Returns:
      the UnacknowledgedCount 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.
    • getUnacknowledgedCountNodeAsync

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

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

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

      Specified by:
      getUnconfirmedCount in interface AlarmStateVariableType
      Returns:
      the local value of the UnconfirmedCount Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UnconfirmedCount Node.
    • setUnconfirmedCount

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

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

      Specified by:
      setUnconfirmedCount in interface AlarmStateVariableType
      Parameters:
      value - the local value to set for the UnconfirmedCount Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the UnconfirmedCount Node.
    • readUnconfirmedCount

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

      public void writeUnconfirmedCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Write a new value for the UnconfirmedCount Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeUnconfirmedCount in interface AlarmStateVariableType
      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.
    • readUnconfirmedCountAsync

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

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

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

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

      Specified by:
      getUnconfirmedCountNode in interface AlarmStateVariableType
      Returns:
      the UnconfirmedCount 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.
    • getUnconfirmedCountNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.structured.ContentFilter getFilter() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Get the local value of the Filter Node.

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

      Specified by:
      getFilter in interface AlarmStateVariableType
      Returns:
      the local value of the Filter Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Filter Node.
    • setFilter

      public void setFilter(org.eclipse.milo.opcua.stack.core.types.structured.ContentFilter value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AlarmStateVariableType
      Set the local value of the Filter Node.

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

      Specified by:
      setFilter in interface AlarmStateVariableType
      Parameters:
      value - the local value to set for the Filter Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Filter Node.
    • readFilter

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

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

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

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

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

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

      Specified by:
      getFilterNode in interface AlarmStateVariableType
      Returns:
      the Filter 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.
    • getFilterNodeAsync

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