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

public class AuditChannelEventTypeNode extends AuditSecurityEventTypeNode implements AuditChannelEventType
  • Constructor Details

    • AuditChannelEventTypeNode

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

    • getSecureChannelId

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

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

      Specified by:
      getSecureChannelId in interface AuditChannelEventType
      Returns:
      the local value of the SecureChannelId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the SecureChannelId Node.
    • setSecureChannelId

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

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

      Specified by:
      setSecureChannelId in interface AuditChannelEventType
      Parameters:
      value - the local value to set for the SecureChannelId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the SecureChannelId Node.
    • readSecureChannelId

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

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

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

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

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

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

      Specified by:
      getSecureChannelIdNode in interface AuditChannelEventType
      Returns:
      the SecureChannelId 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.
    • getSecureChannelIdNodeAsync

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