Class JsonWriterGroupMessageTypeNode

All Implemented Interfaces:
BaseObjectType, JsonWriterGroupMessageType, WriterGroupMessageType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode

public class JsonWriterGroupMessageTypeNode extends WriterGroupMessageTypeNode implements JsonWriterGroupMessageType
  • Constructor Details

    • JsonWriterGroupMessageTypeNode

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

    • getNetworkMessageContentMask

      public org.eclipse.milo.opcua.stack.core.types.structured.JsonNetworkMessageContentMask getNetworkMessageContentMask() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: JsonWriterGroupMessageType
      Get the local value of the NetworkMessageContentMask Node.

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

      Specified by:
      getNetworkMessageContentMask in interface JsonWriterGroupMessageType
      Returns:
      the local value of the NetworkMessageContentMask Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NetworkMessageContentMask Node.
    • setNetworkMessageContentMask

      public void setNetworkMessageContentMask(org.eclipse.milo.opcua.stack.core.types.structured.JsonNetworkMessageContentMask value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: JsonWriterGroupMessageType
      Set the local value of the NetworkMessageContentMask Node.

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

      Specified by:
      setNetworkMessageContentMask in interface JsonWriterGroupMessageType
      Parameters:
      value - the local value to set for the NetworkMessageContentMask Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NetworkMessageContentMask Node.
    • readNetworkMessageContentMask

      public org.eclipse.milo.opcua.stack.core.types.structured.JsonNetworkMessageContentMask readNetworkMessageContentMask() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: JsonWriterGroupMessageType
      Read the value of the NetworkMessageContentMask Node from the server and update the local value if the operation succeeds.
      Specified by:
      readNetworkMessageContentMask in interface JsonWriterGroupMessageType
      Returns:
      the JsonNetworkMessageContentMask value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeNetworkMessageContentMask

      public void writeNetworkMessageContentMask(org.eclipse.milo.opcua.stack.core.types.structured.JsonNetworkMessageContentMask value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: JsonWriterGroupMessageType
      Write a new value for the NetworkMessageContentMask Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeNetworkMessageContentMask in interface JsonWriterGroupMessageType
      Parameters:
      value - the JsonNetworkMessageContentMask value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readNetworkMessageContentMaskAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.JsonNetworkMessageContentMask> readNetworkMessageContentMaskAsync()
      Description copied from interface: JsonWriterGroupMessageType
      Specified by:
      readNetworkMessageContentMaskAsync in interface JsonWriterGroupMessageType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeNetworkMessageContentMaskAsync

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

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

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

      Specified by:
      getNetworkMessageContentMaskNode in interface JsonWriterGroupMessageType
      Returns:
      the NetworkMessageContentMask 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.
    • getNetworkMessageContentMaskNodeAsync

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