All Implemented Interfaces:
AuditClientEventType, AuditEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
Direct Known Subclasses:
AuditClientUpdateMethodResultEventTypeNode

public class AuditClientEventTypeNode extends AuditEventTypeNode implements AuditClientEventType
  • Constructor Details

    • AuditClientEventTypeNode

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

    • getServerUri

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

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

      Specified by:
      getServerUri in interface AuditClientEventType
      Returns:
      the local value of the ServerUri Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ServerUri Node.
    • setServerUri

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

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

      Specified by:
      setServerUri in interface AuditClientEventType
      Parameters:
      value - the local value to set for the ServerUri Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ServerUri Node.
    • readServerUri

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

      public void writeServerUri(String value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditClientEventType
      Write a new value for the ServerUri Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeServerUri in interface AuditClientEventType
      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.
    • readServerUriAsync

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

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

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

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

      Specified by:
      getServerUriNode in interface AuditClientEventType
      Returns:
      the ServerUri 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.
    • getServerUriNodeAsync

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