All Implemented Interfaces:
AuditEventType, AuditSecurityEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
Direct Known Subclasses:
AuditCertificateEventTypeNode, AuditChannelEventTypeNode, AuditSessionEventTypeNode

public class AuditSecurityEventTypeNode extends AuditEventTypeNode implements AuditSecurityEventType
  • Constructor Details

    • AuditSecurityEventTypeNode

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

    • getStatusCodeId

      public org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode getStatusCodeId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditSecurityEventType
      Get the local value of the StatusCodeId Node.

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

      Specified by:
      getStatusCodeId in interface AuditSecurityEventType
      Returns:
      the local value of the StatusCodeId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the StatusCodeId Node.
    • setStatusCodeId

      public void setStatusCodeId(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditSecurityEventType
      Set the local value of the StatusCodeId Node.

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

      Specified by:
      setStatusCodeId in interface AuditSecurityEventType
      Parameters:
      value - the local value to set for the StatusCodeId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the StatusCodeId Node.
    • readStatusCodeId

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

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

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

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

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

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

      Specified by:
      getStatusCodeIdNode in interface AuditSecurityEventType
      Returns:
      the StatusCodeId 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.
    • getStatusCodeIdNodeAsync

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