All Implemented Interfaces:
BaseEventType, BaseObjectType, PubSubStatusEventType, SystemEventType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
Direct Known Subclasses:
PubSubCommunicationFailureEventTypeNode, PubSubTransportLimitsExceedEventTypeNode

public class PubSubStatusEventTypeNode extends SystemEventTypeNode implements PubSubStatusEventType
  • Constructor Details

    • PubSubStatusEventTypeNode

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

    • getConnectionId

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getConnectionId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Get the local value of the ConnectionId Node.

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

      Specified by:
      getConnectionId in interface PubSubStatusEventType
      Returns:
      the local value of the ConnectionId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ConnectionId Node.
    • setConnectionId

      public void setConnectionId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Set the local value of the ConnectionId Node.

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

      Specified by:
      setConnectionId in interface PubSubStatusEventType
      Parameters:
      value - the local value to set for the ConnectionId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the ConnectionId Node.
    • readConnectionId

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

      public void writeConnectionId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Write a new value for the ConnectionId Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeConnectionId in interface PubSubStatusEventType
      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.
    • readConnectionIdAsync

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

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

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

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

      Specified by:
      getConnectionIdNode in interface PubSubStatusEventType
      Returns:
      the ConnectionId 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.
    • getConnectionIdNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getGroupId() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Get the local value of the GroupId Node.

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

      Specified by:
      getGroupId in interface PubSubStatusEventType
      Returns:
      the local value of the GroupId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the GroupId Node.
    • setGroupId

      public void setGroupId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Set the local value of the GroupId Node.

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

      Specified by:
      setGroupId in interface PubSubStatusEventType
      Parameters:
      value - the local value to set for the GroupId Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the GroupId Node.
    • readGroupId

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

      public void writeGroupId(org.eclipse.milo.opcua.stack.core.types.builtin.NodeId value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Write a new value for the GroupId Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeGroupId in interface PubSubStatusEventType
      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.
    • readGroupIdAsync

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

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

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

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

      Specified by:
      getGroupIdNode in interface PubSubStatusEventType
      Returns:
      the GroupId 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.
    • getGroupIdNodeAsync

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

      public org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubState getState() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Get the local value of the State Node.

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

      Specified by:
      getState in interface PubSubStatusEventType
      Returns:
      the local value of the State Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the State Node.
    • setState

      public void setState(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubState value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Set the local value of the State Node.

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

      Specified by:
      setState in interface PubSubStatusEventType
      Parameters:
      value - the local value to set for the State Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the State Node.
    • readState

      public org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubState readState() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Read the value of the State Node from the server and update the local value if the operation succeeds.
      Specified by:
      readState in interface PubSubStatusEventType
      Returns:
      the PubSubState value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeState

      public void writeState(org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubState value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: PubSubStatusEventType
      Write a new value for the State Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeState in interface PubSubStatusEventType
      Parameters:
      value - the PubSubState value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readStateAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.PubSubState> readStateAsync()
      Description copied from interface: PubSubStatusEventType
      An asynchronous implementation of PubSubStatusEventType.readState().
      Specified by:
      readStateAsync in interface PubSubStatusEventType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeStateAsync

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

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

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

      Specified by:
      getStateNode in interface PubSubStatusEventType
      Returns:
      the State 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.
    • getStateNodeAsync

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