Interface AuditWriteUpdateEventType

All Superinterfaces:
AuditEventType, AuditUpdateEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
All Known Implementing Classes:
AuditWriteUpdateEventTypeNode

public interface AuditWriteUpdateEventType extends AuditUpdateEventType
See Also:
  • Field Details

    • ATTRIBUTE_ID

      static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> ATTRIBUTE_ID
    • INDEX_RANGE

      static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String> INDEX_RANGE
    • OLD_VALUE

      static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<Object> OLD_VALUE
    • NEW_VALUE

      static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<Object> NEW_VALUE
  • Method Details

    • getAttributeId

      org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getAttributeId() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the AttributeId Node.

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

      Returns:
      the local value of the AttributeId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AttributeId Node.
    • setAttributeId

      void setAttributeId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the AttributeId Node.

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

      Parameters:
      value - the local value to set for the AttributeId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AttributeId Node.
    • readAttributeId

      org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readAttributeId() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the AttributeId Node from the server and update the local value if the operation succeeds.
      Returns:
      the UInteger value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeAttributeId

      void writeAttributeId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the AttributeId Node to the server and update the local value if the operation succeeds.
      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.
    • readAttributeIdAsync

      CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readAttributeIdAsync()
      An asynchronous implementation of readAttributeId().
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeAttributeIdAsync

      CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAttributeIdAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value)
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getAttributeIdNode

      PropertyType getAttributeIdNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the AttributeId PropertyType Node, or null if it does not exist.

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

      Returns:
      the AttributeId 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.
    • getAttributeIdNodeAsync

      CompletableFuture<? extends PropertyType> getAttributeIdNodeAsync()
      Asynchronous implementation of getAttributeIdNode().
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getIndexRange

      String getIndexRange() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the IndexRange Node.

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

      Returns:
      the local value of the IndexRange Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the IndexRange Node.
    • setIndexRange

      void setIndexRange(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the IndexRange Node.

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

      Parameters:
      value - the local value to set for the IndexRange Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the IndexRange Node.
    • readIndexRange

      String readIndexRange() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the IndexRange Node from the server and update the local value if the operation succeeds.
      Returns:
      the String value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeIndexRange

      void writeIndexRange(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the IndexRange Node to the server and update the local value if the operation succeeds.
      Parameters:
      value - the String value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readIndexRangeAsync

      CompletableFuture<? extends String> readIndexRangeAsync()
      An asynchronous implementation of readIndexRange().
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeIndexRangeAsync

      CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeIndexRangeAsync(String value)
      An asynchronous implementation of writeIndexRange(java.lang.String).
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getIndexRangeNode

      PropertyType getIndexRangeNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the IndexRange PropertyType Node, or null if it does not exist.

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

      Returns:
      the IndexRange 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.
    • getIndexRangeNodeAsync

      CompletableFuture<? extends PropertyType> getIndexRangeNodeAsync()
      Asynchronous implementation of getIndexRangeNode().
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getOldValue

      Object getOldValue() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the OldValue Node.

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

      Returns:
      the local value of the OldValue Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OldValue Node.
    • setOldValue

      void setOldValue(Object value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the OldValue Node.

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

      Parameters:
      value - the local value to set for the OldValue Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the OldValue Node.
    • readOldValue

      Object readOldValue() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the OldValue Node from the server and update the local value if the operation succeeds.
      Returns:
      the Object value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeOldValue

      void writeOldValue(Object value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the OldValue Node to the server and update the local value if the operation succeeds.
      Parameters:
      value - the Object value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readOldValueAsync

      CompletableFuture<?> readOldValueAsync()
      An asynchronous implementation of readOldValue().
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeOldValueAsync

      CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeOldValueAsync(Object value)
      An asynchronous implementation of writeOldValue(java.lang.Object).
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getOldValueNode

      PropertyType getOldValueNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the OldValue PropertyType Node, or null if it does not exist.

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

      Returns:
      the OldValue 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.
    • getOldValueNodeAsync

      CompletableFuture<? extends PropertyType> getOldValueNodeAsync()
      Asynchronous implementation of getOldValueNode().
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getNewValue

      Object getNewValue() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the NewValue Node.

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

      Returns:
      the local value of the NewValue Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NewValue Node.
    • setNewValue

      void setNewValue(Object value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the NewValue Node.

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

      Parameters:
      value - the local value to set for the NewValue Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NewValue Node.
    • readNewValue

      Object readNewValue() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the NewValue Node from the server and update the local value if the operation succeeds.
      Returns:
      the Object value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeNewValue

      void writeNewValue(Object value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the NewValue Node to the server and update the local value if the operation succeeds.
      Parameters:
      value - the Object value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readNewValueAsync

      CompletableFuture<?> readNewValueAsync()
      An asynchronous implementation of readNewValue().
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeNewValueAsync

      CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNewValueAsync(Object value)
      An asynchronous implementation of writeNewValue(java.lang.Object).
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getNewValueNode

      PropertyType getNewValueNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the NewValue PropertyType Node, or null if it does not exist.

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

      Returns:
      the NewValue 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.
    • getNewValueNodeAsync

      CompletableFuture<? extends PropertyType> getNewValueNodeAsync()
      Asynchronous implementation of getNewValueNode().
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.