Interface AuditAddReferencesEventType

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

public interface AuditAddReferencesEventType extends AuditNodeManagementEventType
See Also:
  • Field Details

    • REFERENCES_TO_ADD

      static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.AddReferencesItem[]> REFERENCES_TO_ADD
  • Method Details

    • getReferencesToAdd

      org.eclipse.milo.opcua.stack.core.types.structured.AddReferencesItem[] getReferencesToAdd() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the ReferencesToAdd Node.

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

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

      void setReferencesToAdd(org.eclipse.milo.opcua.stack.core.types.structured.AddReferencesItem[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the ReferencesToAdd Node.

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

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

      org.eclipse.milo.opcua.stack.core.types.structured.AddReferencesItem[] readReferencesToAdd() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the ReferencesToAdd Node from the server and update the local value if the operation succeeds.
      Returns:
      the AddReferencesItem value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeReferencesToAdd

      void writeReferencesToAdd(org.eclipse.milo.opcua.stack.core.types.structured.AddReferencesItem[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the ReferencesToAdd Node to the server and update the local value if the operation succeeds.
      Parameters:
      value - the AddReferencesItem value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readReferencesToAddAsync

      CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.AddReferencesItem[]> readReferencesToAddAsync()
      An asynchronous implementation of readReferencesToAdd().
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeReferencesToAddAsync

      CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeReferencesToAddAsync(org.eclipse.milo.opcua.stack.core.types.structured.AddReferencesItem[] value)
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getReferencesToAddNode

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

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

      Returns:
      the ReferencesToAdd 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.
    • getReferencesToAddNodeAsync

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