All Superinterfaces:
AuditEventType, AuditSecurityEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
All Known Subinterfaces:
AuditActivateSessionEventType, AuditCancelEventType, AuditCreateSessionEventType, AuditUrlMismatchEventType
All Known Implementing Classes:
AuditActivateSessionEventTypeNode, AuditCancelEventTypeNode, AuditCreateSessionEventTypeNode, AuditSessionEventTypeNode, AuditUrlMismatchEventTypeNode

public interface AuditSessionEventType extends AuditSecurityEventType
See Also:
  • Field Details

    • SESSION_ID

      static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.NodeId> SESSION_ID
  • Method Details

    • getSessionId

      org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getSessionId() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the local value of the SessionId Node.

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

      Returns:
      the local value of the SessionId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the SessionId Node.
    • setSessionId

      void setSessionId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Set the local value of the SessionId Node.

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

      Parameters:
      value - the local value to set for the SessionId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the SessionId Node.
    • readSessionId

      org.eclipse.milo.opcua.stack.core.types.builtin.NodeId readSessionId() throws org.eclipse.milo.opcua.stack.core.UaException
      Read the value of the SessionId Node from the server and update the local value if the operation succeeds.
      Returns:
      the NodeId value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeSessionId

      void writeSessionId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Write a new value for the SessionId Node to the server and update the local value if the operation succeeds.
      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.
    • readSessionIdAsync

      CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.NodeId> readSessionIdAsync()
      An asynchronous implementation of readSessionId().
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeSessionIdAsync

      CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSessionIdAsync(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value)
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getSessionIdNode

      PropertyType getSessionIdNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Get the SessionId PropertyType Node, or null if it does not exist.

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

      Returns:
      the SessionId 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.
    • getSessionIdNodeAsync

      CompletableFuture<? extends PropertyType> getSessionIdNodeAsync()
      Asynchronous implementation of getSessionIdNode().
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.