Class ISrClassTypeNode
java.lang.Object
org.eclipse.milo.opcua.sdk.client.nodes.UaNode
org.eclipse.milo.opcua.sdk.client.nodes.UaObjectNode
org.eclipse.milo.opcua.sdk.client.model.objects.BaseObjectTypeNode
org.eclipse.milo.opcua.sdk.client.model.objects.BaseInterfaceTypeNode
org.eclipse.milo.opcua.sdk.client.model.objects.ISrClassTypeNode
- All Implemented Interfaces:
BaseInterfaceType,BaseObjectType,ISrClassType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionISrClassTypeNode(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 Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UBytegetId()Get the local value of the Id Node.Get the IdBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofISrClassType.getIdNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByteGet the local value of the Priority Node.Get the PriorityBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofISrClassType.getPriorityNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShortgetVid()Get the local value of the Vid Node.Get the VidBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofISrClassType.getVidNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UBytereadId()Read the value of the Id Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte>An asynchronous implementation ofISrClassType.readId().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByteRead the value of the Priority Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte>An asynchronous implementation ofISrClassType.readPriority().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShortreadVid()Read the value of the Vid Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort>An asynchronous implementation ofISrClassType.readVid().voidsetId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) Set the local value of the Id Node.voidsetPriority(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) Set the local value of the Priority Node.voidsetVid(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) Set the local value of the Vid Node.voidwriteId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) Write a new value for the Id Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeIdAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte id) An asynchronous implementation ofISrClassType.writeId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte).voidwritePriority(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) Write a new value for the Priority Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writePriorityAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte priority) An asynchronous implementation ofISrClassType.writePriority(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte).voidwriteVid(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) Write a new value for the Vid Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeVidAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort vid) An asynchronous implementation ofISrClassType.writeVid(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort).Methods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaObjectNode
callMethod, callMethod, callMethodAsync, callMethodAsync, getAttributeValue, getEventNotifier, getIconAsync, getMethod, getMethod, getMethodAsync, getMethodAsync, getNamingRuleAsync, getNodeVersionAsync, getObjectComponent, getObjectComponent, getObjectComponent, getObjectComponentAsync, getObjectComponentAsync, getObjectComponentAsync, getTypeDefinition, getTypeDefinitionAsync, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readEventNotifier, setAttributeValue, setEventNotifier, setIconAsync, setNamingRuleAsync, setNodeVersionAsync, writeEventNotifierMethods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaNode
browse, browse, browseAsync, browseAsync, browseNodes, browseNodes, browseNodesAsync, browseNodesAsync, canonicalize, cast, findMemberNodeId, getAccessRestrictions, getBrowseName, getComponentAsync, getDescription, getDisplayName, getMemberNodeAsync, getNodeClass, getNodeId, getProperty, getPropertyNodeAsync, getPropertyNodeAsync, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, invalidate, readAccessRestrictions, readAttribute, readAttributeAsync, readBrowseName, readDescription, readDisplayName, readNamespaceIndex, readNodeClass, readNodeId, readProperty, readRolePermissions, readUserRolePermissions, readUserWriteMask, readWriteMask, refresh, refreshAsync, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMask, synchronize, synchronizeAsync, writeAccessRestrictions, writeAttribute, writeAttributeAsync, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeProperty, writeRolePermissions, writeUserRolePermissions, writeUserWriteMask, writeWriteMaskMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMaskMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
getEventNotifier, setEventNotifier
-
Constructor Details
-
ISrClassTypeNode
public ISrClassTypeNode(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
-
getId
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte getId() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ISrClassTypeGet the local value of the Id Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getIdin interfaceISrClassType- Returns:
- the local value of the Id Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Id Node.
-
setId
public void setId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ISrClassTypeSet the local value of the Id Node.The value is only updated locally; it is not written to the server.
- Specified by:
setIdin interfaceISrClassType- Parameters:
value- the local value to set for the Id Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Id Node.
-
readId
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte readId() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ISrClassTypeRead the value of the Id Node from the server and update the local value if the operation succeeds.- Specified by:
readIdin interfaceISrClassType- Returns:
- the
UBytevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeId
public void writeId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ISrClassTypeWrite a new value for the Id Node to the server and update the local value if the operation succeeds.- Specified by:
writeIdin interfaceISrClassType- Parameters:
value- theUBytevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readIdAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte> readIdAsync()Description copied from interface:ISrClassTypeAn asynchronous implementation ofISrClassType.readId().- Specified by:
readIdAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeIdAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeIdAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte id) Description copied from interface:ISrClassTypeAn asynchronous implementation ofISrClassType.writeId(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte).- Specified by:
writeIdAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getIdNode
Description copied from interface:ISrClassTypeGet the IdBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getIdNodein interfaceISrClassType- Returns:
- the Id
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getIdNodeAsync
Description copied from interface:ISrClassTypeAsynchronous implementation ofISrClassType.getIdNode().- Specified by:
getIdNodeAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getPriority
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte getPriority() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ISrClassTypeGet the local value of the Priority Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getPriorityin interfaceISrClassType- Returns:
- the local value of the Priority Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Priority Node.
-
setPriority
public void setPriority(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ISrClassTypeSet the local value of the Priority Node.The value is only updated locally; it is not written to the server.
- Specified by:
setPriorityin interfaceISrClassType- Parameters:
value- the local value to set for the Priority Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Priority Node.
-
readPriority
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte readPriority() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ISrClassTypeRead the value of the Priority Node from the server and update the local value if the operation succeeds.- Specified by:
readPriorityin interfaceISrClassType- Returns:
- the
UBytevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writePriority
public void writePriority(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ISrClassTypeWrite a new value for the Priority Node to the server and update the local value if the operation succeeds.- Specified by:
writePriorityin interfaceISrClassType- Parameters:
value- theUBytevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readPriorityAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte> readPriorityAsync()Description copied from interface:ISrClassTypeAn asynchronous implementation ofISrClassType.readPriority().- Specified by:
readPriorityAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writePriorityAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writePriorityAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte priority) Description copied from interface:ISrClassTypeAn asynchronous implementation ofISrClassType.writePriority(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte).- Specified by:
writePriorityAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getPriorityNode
public BaseDataVariableTypeNode getPriorityNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ISrClassTypeGet the PriorityBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getPriorityNodein interfaceISrClassType- Returns:
- the Priority
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getPriorityNodeAsync
Description copied from interface:ISrClassTypeAsynchronous implementation ofISrClassType.getPriorityNode().- Specified by:
getPriorityNodeAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getVid
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort getVid() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ISrClassTypeGet the local value of the Vid Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getVidin interfaceISrClassType- Returns:
- the local value of the Vid Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Vid Node.
-
setVid
public void setVid(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ISrClassTypeSet the local value of the Vid Node.The value is only updated locally; it is not written to the server.
- Specified by:
setVidin interfaceISrClassType- Parameters:
value- the local value to set for the Vid Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Vid Node.
-
readVid
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort readVid() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:ISrClassTypeRead the value of the Vid Node from the server and update the local value if the operation succeeds.- Specified by:
readVidin interfaceISrClassType- Returns:
- the
UShortvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeVid
public void writeVid(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:ISrClassTypeWrite a new value for the Vid Node to the server and update the local value if the operation succeeds.- Specified by:
writeVidin interfaceISrClassType- Parameters:
value- theUShortvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readVidAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort> readVidAsync()Description copied from interface:ISrClassTypeAn asynchronous implementation ofISrClassType.readVid().- Specified by:
readVidAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeVidAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeVidAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort vid) Description copied from interface:ISrClassTypeAn asynchronous implementation ofISrClassType.writeVid(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort).- Specified by:
writeVidAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getVidNode
Description copied from interface:ISrClassTypeGet the VidBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getVidNodein interfaceISrClassType- Returns:
- the Vid
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getVidNodeAsync
Description copied from interface:ISrClassTypeAsynchronous implementation ofISrClassType.getVidNode().- Specified by:
getVidNodeAsyncin interfaceISrClassType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-