All Implemented Interfaces:
BaseInterfaceType, BaseObjectType, IOrderedObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode

public class IOrderedObjectTypeNode extends BaseInterfaceTypeNode implements IOrderedObjectType
  • Constructor Details

    • IOrderedObjectTypeNode

      public IOrderedObjectTypeNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
  • Method Details

    • getNumberInList

      public org.eclipse.milo.opcua.stack.core.types.builtin.Variant getNumberInList() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: IOrderedObjectType
      Get the local value of the NumberInList Node.

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

      Specified by:
      getNumberInList in interface IOrderedObjectType
      Returns:
      the local value of the NumberInList Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NumberInList Node.
    • setNumberInList

      public void setNumberInList(org.eclipse.milo.opcua.stack.core.types.builtin.Variant value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: IOrderedObjectType
      Set the local value of the NumberInList Node.

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

      Specified by:
      setNumberInList in interface IOrderedObjectType
      Parameters:
      value - the local value to set for the NumberInList Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NumberInList Node.
    • readNumberInList

      public org.eclipse.milo.opcua.stack.core.types.builtin.Variant readNumberInList() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: IOrderedObjectType
      Read the value of the NumberInList Node from the server and update the local value if the operation succeeds.
      Specified by:
      readNumberInList in interface IOrderedObjectType
      Returns:
      the Variant value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeNumberInList

      public void writeNumberInList(org.eclipse.milo.opcua.stack.core.types.builtin.Variant value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: IOrderedObjectType
      Write a new value for the NumberInList Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeNumberInList in interface IOrderedObjectType
      Parameters:
      value - the Variant value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readNumberInListAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.Variant> readNumberInListAsync()
      Description copied from interface: IOrderedObjectType
      An asynchronous implementation of IOrderedObjectType.readNumberInList().
      Specified by:
      readNumberInListAsync in interface IOrderedObjectType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeNumberInListAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNumberInListAsync(org.eclipse.milo.opcua.stack.core.types.builtin.Variant numberInList)
      Description copied from interface: IOrderedObjectType
      Specified by:
      writeNumberInListAsync in interface IOrderedObjectType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getNumberInListNode

      public PropertyTypeNode getNumberInListNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: IOrderedObjectType
      Get the NumberInList PropertyType Node, or null if it does not exist.

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

      Specified by:
      getNumberInListNode in interface IOrderedObjectType
      Returns:
      the NumberInList 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.
    • getNumberInListNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getNumberInListNodeAsync()
      Description copied from interface: IOrderedObjectType
      Asynchronous implementation of IOrderedObjectType.getNumberInListNode().
      Specified by:
      getNumberInListNodeAsync in interface IOrderedObjectType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.