Interface AuditUpdateStateEventType

All Superinterfaces:
AuditEventType, AuditUpdateMethodEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
All Known Subinterfaces:
AuditProgramTransitionEventType, ProgramTransitionAuditEventType
All Known Implementing Classes:
AuditProgramTransitionEventTypeNode, AuditUpdateStateEventTypeNode, ProgramTransitionAuditEventTypeNode

public interface AuditUpdateStateEventType extends AuditUpdateMethodEventType
See Also:
  • Field Details

    • OLD_STATE_ID

      static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<Object> OLD_STATE_ID
    • NEW_STATE_ID

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

    • getOldStateId

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

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

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

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

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

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

      Object readOldStateId() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the OldStateId 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.
    • writeOldStateId

      void writeOldStateId(Object value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the OldStateId 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.
    • readOldStateIdAsync

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

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

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

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

      Returns:
      the OldStateId 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.
    • getOldStateIdNodeAsync

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

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

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

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

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

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

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

      Object readNewStateId() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the NewStateId 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.
    • writeNewStateId

      void writeNewStateId(Object value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the NewStateId 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.
    • readNewStateIdAsync

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

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

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

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

      Returns:
      the NewStateId 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.
    • getNewStateIdNodeAsync

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