All Implemented Interfaces:
AuditCancelEventType, AuditEventType, AuditSecurityEventType, AuditSessionEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode

public class AuditCancelEventTypeNode extends AuditSessionEventTypeNode implements AuditCancelEventType
  • Constructor Details

    • AuditCancelEventTypeNode

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

    • getRequestHandle

      public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getRequestHandle() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditCancelEventType
      Get the local value of the RequestHandle Node.

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

      Specified by:
      getRequestHandle in interface AuditCancelEventType
      Returns:
      the local value of the RequestHandle Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the RequestHandle Node.
    • setRequestHandle

      public void setRequestHandle(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditCancelEventType
      Set the local value of the RequestHandle Node.

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

      Specified by:
      setRequestHandle in interface AuditCancelEventType
      Parameters:
      value - the local value to set for the RequestHandle Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the RequestHandle Node.
    • readRequestHandle

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

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

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

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

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

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

      Specified by:
      getRequestHandleNode in interface AuditCancelEventType
      Returns:
      the RequestHandle 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.
    • getRequestHandleNodeAsync

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