All Implemented Interfaces:
BaseDataVariableType, BaseVariableType, ProgramDiagnosticType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.VariableNode

public class ProgramDiagnosticTypeNode extends BaseDataVariableTypeNode implements ProgramDiagnosticType
  • Constructor Details

    • ProgramDiagnosticTypeNode

      public ProgramDiagnosticTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx)
  • Method Details

    • getCreateSessionId

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getCreateSessionId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the CreateSessionId Node.

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

      Specified by:
      getCreateSessionId in interface ProgramDiagnosticType
      Returns:
      the local value of the CreateSessionId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the CreateSessionId Node.
    • setCreateSessionId

      public void setCreateSessionId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the CreateSessionId Node.

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

      Specified by:
      setCreateSessionId in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the CreateSessionId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the CreateSessionId Node.
    • readCreateSessionId

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

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

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

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

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

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

      Specified by:
      getCreateSessionIdNode in interface ProgramDiagnosticType
      Returns:
      the CreateSessionId 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.
    • getCreateSessionIdNodeAsync

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

      public String getCreateClientName() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the CreateClientName Node.

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

      Specified by:
      getCreateClientName in interface ProgramDiagnosticType
      Returns:
      the local value of the CreateClientName Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the CreateClientName Node.
    • setCreateClientName

      public void setCreateClientName(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the CreateClientName Node.

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

      Specified by:
      setCreateClientName in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the CreateClientName Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the CreateClientName Node.
    • readCreateClientName

      public String readCreateClientName() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Read the value of the CreateClientName Node from the server and update the local value if the operation succeeds.
      Specified by:
      readCreateClientName in interface ProgramDiagnosticType
      Returns:
      the String value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeCreateClientName

      public void writeCreateClientName(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Write a new value for the CreateClientName Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeCreateClientName in interface ProgramDiagnosticType
      Parameters:
      value - the String value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readCreateClientNameAsync

      public CompletableFuture<? extends String> readCreateClientNameAsync()
      Description copied from interface: ProgramDiagnosticType
      An asynchronous implementation of ProgramDiagnosticType.readCreateClientName().
      Specified by:
      readCreateClientNameAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeCreateClientNameAsync

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

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

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

      Specified by:
      getCreateClientNameNode in interface ProgramDiagnosticType
      Returns:
      the CreateClientName 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.
    • getCreateClientNameNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getInvocationCreationTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the InvocationCreationTime Node.

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

      Specified by:
      getInvocationCreationTime in interface ProgramDiagnosticType
      Returns:
      the local value of the InvocationCreationTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the InvocationCreationTime Node.
    • setInvocationCreationTime

      public void setInvocationCreationTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the InvocationCreationTime Node.

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

      Specified by:
      setInvocationCreationTime in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the InvocationCreationTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the InvocationCreationTime Node.
    • readInvocationCreationTime

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

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

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

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

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

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

      Specified by:
      getInvocationCreationTimeNode in interface ProgramDiagnosticType
      Returns:
      the InvocationCreationTime 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.
    • getInvocationCreationTimeNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getInvocationCreationTimeNodeAsync()
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      getInvocationCreationTimeNodeAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getLastTransitionTime

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getLastTransitionTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the LastTransitionTime Node.

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

      Specified by:
      getLastTransitionTime in interface ProgramDiagnosticType
      Returns:
      the local value of the LastTransitionTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastTransitionTime Node.
    • setLastTransitionTime

      public void setLastTransitionTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the LastTransitionTime Node.

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

      Specified by:
      setLastTransitionTime in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the LastTransitionTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastTransitionTime Node.
    • readLastTransitionTime

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

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

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

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

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

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

      Specified by:
      getLastTransitionTimeNode in interface ProgramDiagnosticType
      Returns:
      the LastTransitionTime 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.
    • getLastTransitionTimeNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getLastTransitionTimeNodeAsync()
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      getLastTransitionTimeNodeAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getLastMethodCall

      public String getLastMethodCall() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the LastMethodCall Node.

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

      Specified by:
      getLastMethodCall in interface ProgramDiagnosticType
      Returns:
      the local value of the LastMethodCall Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodCall Node.
    • setLastMethodCall

      public void setLastMethodCall(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the LastMethodCall Node.

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

      Specified by:
      setLastMethodCall in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the LastMethodCall Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodCall Node.
    • readLastMethodCall

      public String readLastMethodCall() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Read the value of the LastMethodCall Node from the server and update the local value if the operation succeeds.
      Specified by:
      readLastMethodCall in interface ProgramDiagnosticType
      Returns:
      the String value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeLastMethodCall

      public void writeLastMethodCall(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Write a new value for the LastMethodCall Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeLastMethodCall in interface ProgramDiagnosticType
      Parameters:
      value - the String value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readLastMethodCallAsync

      public CompletableFuture<? extends String> readLastMethodCallAsync()
      Description copied from interface: ProgramDiagnosticType
      An asynchronous implementation of ProgramDiagnosticType.readLastMethodCall().
      Specified by:
      readLastMethodCallAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeLastMethodCallAsync

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

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

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

      Specified by:
      getLastMethodCallNode in interface ProgramDiagnosticType
      Returns:
      the LastMethodCall 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.
    • getLastMethodCallNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getLastMethodSessionId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the LastMethodSessionId Node.

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

      Specified by:
      getLastMethodSessionId in interface ProgramDiagnosticType
      Returns:
      the local value of the LastMethodSessionId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodSessionId Node.
    • setLastMethodSessionId

      public void setLastMethodSessionId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the LastMethodSessionId Node.

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

      Specified by:
      setLastMethodSessionId in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the LastMethodSessionId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodSessionId Node.
    • readLastMethodSessionId

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

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

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

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

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

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

      Specified by:
      getLastMethodSessionIdNode in interface ProgramDiagnosticType
      Returns:
      the LastMethodSessionId 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.
    • getLastMethodSessionIdNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getLastMethodSessionIdNodeAsync()
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      getLastMethodSessionIdNodeAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getLastMethodInputArguments

      public Object[] getLastMethodInputArguments() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the LastMethodInputArguments Node.

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

      Specified by:
      getLastMethodInputArguments in interface ProgramDiagnosticType
      Returns:
      the local value of the LastMethodInputArguments Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodInputArguments Node.
    • setLastMethodInputArguments

      public void setLastMethodInputArguments(Object[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the LastMethodInputArguments Node.

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

      Specified by:
      setLastMethodInputArguments in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the LastMethodInputArguments Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodInputArguments Node.
    • readLastMethodInputArguments

      public Object[] readLastMethodInputArguments() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Read the value of the LastMethodInputArguments Node from the server and update the local value if the operation succeeds.
      Specified by:
      readLastMethodInputArguments in interface ProgramDiagnosticType
      Returns:
      the Object value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeLastMethodInputArguments

      public void writeLastMethodInputArguments(Object[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Write a new value for the LastMethodInputArguments Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeLastMethodInputArguments in interface ProgramDiagnosticType
      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.
    • readLastMethodInputArgumentsAsync

      public CompletableFuture<? extends Object[]> readLastMethodInputArgumentsAsync()
      Description copied from interface: ProgramDiagnosticType
      An asynchronous implementation of ProgramDiagnosticType.readLastMethodInputArguments().
      Specified by:
      readLastMethodInputArgumentsAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeLastMethodInputArgumentsAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeLastMethodInputArgumentsAsync(Object[] lastMethodInputArguments)
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      writeLastMethodInputArgumentsAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getLastMethodInputArgumentsNode

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

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

      Specified by:
      getLastMethodInputArgumentsNode in interface ProgramDiagnosticType
      Returns:
      the LastMethodInputArguments 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.
    • getLastMethodInputArgumentsNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getLastMethodInputArgumentsNodeAsync()
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      getLastMethodInputArgumentsNodeAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getLastMethodOutputArguments

      public Object[] getLastMethodOutputArguments() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the LastMethodOutputArguments Node.

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

      Specified by:
      getLastMethodOutputArguments in interface ProgramDiagnosticType
      Returns:
      the local value of the LastMethodOutputArguments Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodOutputArguments Node.
    • setLastMethodOutputArguments

      public void setLastMethodOutputArguments(Object[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the LastMethodOutputArguments Node.

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

      Specified by:
      setLastMethodOutputArguments in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the LastMethodOutputArguments Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodOutputArguments Node.
    • readLastMethodOutputArguments

      public Object[] readLastMethodOutputArguments() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Read the value of the LastMethodOutputArguments Node from the server and update the local value if the operation succeeds.
      Specified by:
      readLastMethodOutputArguments in interface ProgramDiagnosticType
      Returns:
      the Object value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeLastMethodOutputArguments

      public void writeLastMethodOutputArguments(Object[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Write a new value for the LastMethodOutputArguments Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeLastMethodOutputArguments in interface ProgramDiagnosticType
      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.
    • readLastMethodOutputArgumentsAsync

      public CompletableFuture<? extends Object[]> readLastMethodOutputArgumentsAsync()
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      readLastMethodOutputArgumentsAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeLastMethodOutputArgumentsAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeLastMethodOutputArgumentsAsync(Object[] lastMethodOutputArguments)
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      writeLastMethodOutputArgumentsAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getLastMethodOutputArgumentsNode

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

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

      Specified by:
      getLastMethodOutputArgumentsNode in interface ProgramDiagnosticType
      Returns:
      the LastMethodOutputArguments 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.
    • getLastMethodOutputArgumentsNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getLastMethodOutputArgumentsNodeAsync()
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      getLastMethodOutputArgumentsNodeAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getLastMethodCallTime

      public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getLastMethodCallTime() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the LastMethodCallTime Node.

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

      Specified by:
      getLastMethodCallTime in interface ProgramDiagnosticType
      Returns:
      the local value of the LastMethodCallTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodCallTime Node.
    • setLastMethodCallTime

      public void setLastMethodCallTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the LastMethodCallTime Node.

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

      Specified by:
      setLastMethodCallTime in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the LastMethodCallTime Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodCallTime Node.
    • readLastMethodCallTime

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

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

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

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

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

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

      Specified by:
      getLastMethodCallTimeNode in interface ProgramDiagnosticType
      Returns:
      the LastMethodCallTime 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.
    • getLastMethodCallTimeNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getLastMethodCallTimeNodeAsync()
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      getLastMethodCallTimeNodeAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getLastMethodReturnStatus

      public org.eclipse.milo.opcua.stack.core.types.structured.StatusResult getLastMethodReturnStatus() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Get the local value of the LastMethodReturnStatus Node.

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

      Specified by:
      getLastMethodReturnStatus in interface ProgramDiagnosticType
      Returns:
      the local value of the LastMethodReturnStatus Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodReturnStatus Node.
    • setLastMethodReturnStatus

      public void setLastMethodReturnStatus(org.eclipse.milo.opcua.stack.core.types.structured.StatusResult value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Set the local value of the LastMethodReturnStatus Node.

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

      Specified by:
      setLastMethodReturnStatus in interface ProgramDiagnosticType
      Parameters:
      value - the local value to set for the LastMethodReturnStatus Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the LastMethodReturnStatus Node.
    • readLastMethodReturnStatus

      public org.eclipse.milo.opcua.stack.core.types.structured.StatusResult readLastMethodReturnStatus() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Read the value of the LastMethodReturnStatus Node from the server and update the local value if the operation succeeds.
      Specified by:
      readLastMethodReturnStatus in interface ProgramDiagnosticType
      Returns:
      the StatusResult value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeLastMethodReturnStatus

      public void writeLastMethodReturnStatus(org.eclipse.milo.opcua.stack.core.types.structured.StatusResult value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ProgramDiagnosticType
      Write a new value for the LastMethodReturnStatus Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeLastMethodReturnStatus in interface ProgramDiagnosticType
      Parameters:
      value - the StatusResult value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readLastMethodReturnStatusAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.StatusResult> readLastMethodReturnStatusAsync()
      Description copied from interface: ProgramDiagnosticType
      An asynchronous implementation of ProgramDiagnosticType.readLastMethodReturnStatus().
      Specified by:
      readLastMethodReturnStatusAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeLastMethodReturnStatusAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeLastMethodReturnStatusAsync(org.eclipse.milo.opcua.stack.core.types.structured.StatusResult lastMethodReturnStatus)
      Description copied from interface: ProgramDiagnosticType
      Specified by:
      writeLastMethodReturnStatusAsync in interface ProgramDiagnosticType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getLastMethodReturnStatusNode

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

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

      Specified by:
      getLastMethodReturnStatusNode in interface ProgramDiagnosticType
      Returns:
      the LastMethodReturnStatus 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.
    • getLastMethodReturnStatusNodeAsync

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