All Superinterfaces:
BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode, UnitType
All Known Implementing Classes:
ServerUnitTypeNode

public interface ServerUnitType extends UnitType
See Also:
  • Field Details

    • CONVERSION_LIMIT

      static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum> CONVERSION_LIMIT
  • Method Details

    • getConversionLimit

      org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum getConversionLimit() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the ConversionLimit Node.

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

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

      void setConversionLimit(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the ConversionLimit Node.

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

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

      org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum readConversionLimit() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the ConversionLimit Node from the server and update the local value if the operation succeeds.
      Returns:
      the ConversionLimitEnum value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeConversionLimit

      void writeConversionLimit(org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the ConversionLimit Node to the server and update the local value if the operation succeeds.
      Parameters:
      value - the ConversionLimitEnum value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readConversionLimitAsync

      CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.ConversionLimitEnum> readConversionLimitAsync()
      An asynchronous implementation of readConversionLimit().
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeConversionLimitAsync

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

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

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

      Returns:
      the ConversionLimit 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.
    • getConversionLimitNodeAsync

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

      BaseObjectType getAlternativeUnitsNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the AlternativeUnits BaseObjectType Node, or null if it does not exist.

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

      Returns:
      the AlternativeUnits BaseObjectType 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.
    • getAlternativeUnitsNodeAsync

      CompletableFuture<? extends BaseObjectType> getAlternativeUnitsNodeAsync()
      Asynchronous implementation of getAlternativeUnitsNode().
      Returns:
      a CompletableFuture that completes successfully with the BaseObjectType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getCoherentUnitNode

      UnitType getCoherentUnitNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the CoherentUnit UnitType Node, or null if it does not exist.

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

      Returns:
      the CoherentUnit UnitType 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.
    • getCoherentUnitNodeAsync

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