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:
AuditAddNodesEventTypeNode

public interface AuditAddNodesEventType extends AuditNodeManagementEventType
See Also:
  • Field Details

    • NODES_TO_ADD

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

    • getNodesToAdd

      org.eclipse.milo.opcua.stack.core.types.structured.AddNodesItem[] getNodesToAdd() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the NodesToAdd Node.

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

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

      void setNodesToAdd(org.eclipse.milo.opcua.stack.core.types.structured.AddNodesItem[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the NodesToAdd Node.

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

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

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

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

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

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

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

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

      Returns:
      the NodesToAdd 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.
    • getNodesToAddNodeAsync

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