Interface ProgramTransitionAuditEventType

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

public interface ProgramTransitionAuditEventType extends AuditUpdateStateEventType
  • Method Details

    • getTransition

      org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getTransition() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the Transition Node.

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

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

      void setTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the Transition Node.

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

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

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

      void writeTransition(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the Transition Node to the server and update the local value if the operation succeeds.
      Parameters:
      value - the LocalizedText value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readTransitionAsync

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

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

      FiniteTransitionVariableType getTransitionNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the Transition FiniteTransitionVariableType Node, or null if it does not exist.

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

      Returns:
      the Transition FiniteTransitionVariableType 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.
    • getTransitionNodeAsync

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