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

public class IVlanIdTypeNode extends BaseInterfaceTypeNode implements IVlanIdType
  • Constructor Details

    • IVlanIdTypeNode

      public IVlanIdTypeNode(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

    • getVlanId

      public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort getVlanId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: IVlanIdType
      Get the local value of the VlanId Node.

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

      Specified by:
      getVlanId in interface IVlanIdType
      Returns:
      the local value of the VlanId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the VlanId Node.
    • setVlanId

      public void setVlanId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: IVlanIdType
      Set the local value of the VlanId Node.

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

      Specified by:
      setVlanId in interface IVlanIdType
      Parameters:
      value - the local value to set for the VlanId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the VlanId Node.
    • readVlanId

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

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

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

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeVlanIdAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort vlanId)
      Description copied from interface: IVlanIdType
      Specified by:
      writeVlanIdAsync in interface IVlanIdType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getVlanIdNode

      public BaseDataVariableTypeNode getVlanIdNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: IVlanIdType
      Get the VlanId BaseDataVariableType Node, or null if it does not exist.

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

      Specified by:
      getVlanIdNode in interface IVlanIdType
      Returns:
      the VlanId BaseDataVariableType 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.
    • getVlanIdNodeAsync

      public CompletableFuture<? extends BaseDataVariableTypeNode> getVlanIdNodeAsync()
      Description copied from interface: IVlanIdType
      Asynchronous implementation of IVlanIdType.getVlanIdNode().
      Specified by:
      getVlanIdNodeAsync in interface IVlanIdType
      Returns:
      a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.