Class ThreeDVectorTypeNode
java.lang.Object
org.eclipse.milo.opcua.sdk.client.nodes.UaNode
org.eclipse.milo.opcua.sdk.client.nodes.UaVariableNode
org.eclipse.milo.opcua.sdk.client.model.variables.BaseVariableTypeNode
org.eclipse.milo.opcua.sdk.client.model.variables.BaseDataVariableTypeNode
org.eclipse.milo.opcua.sdk.client.model.variables.VectorTypeNode
org.eclipse.milo.opcua.sdk.client.model.variables.ThreeDVectorTypeNode
- All Implemented Interfaces:
BaseDataVariableType,BaseVariableType,ThreeDVectorType,VectorType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.variables.VectorType
VECTOR_UNIT -
Constructor Summary
ConstructorsConstructorDescriptionThreeDVectorTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx) -
Method Summary
Modifier and TypeMethodDescriptiongetX()Get the local value of the X Node.getXNode()Get the XBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofThreeDVectorType.getXNode().getY()Get the local value of the Y Node.getYNode()Get the YBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofThreeDVectorType.getYNode().getZ()Get the local value of the Z Node.getZNode()Get the ZBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofThreeDVectorType.getZNode().readX()Read the value of the X Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Double>An asynchronous implementation ofThreeDVectorType.readX().readY()Read the value of the Y Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Double>An asynchronous implementation ofThreeDVectorType.readY().readZ()Read the value of the Z Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Double>An asynchronous implementation ofThreeDVectorType.readZ().voidSet the local value of the X Node.voidSet the local value of the Y Node.voidSet the local value of the Z Node.voidWrite a new value for the X Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>An asynchronous implementation ofThreeDVectorType.writeX(java.lang.Double).voidWrite a new value for the Y Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>An asynchronous implementation ofThreeDVectorType.writeY(java.lang.Double).voidWrite a new value for the Z Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>An asynchronous implementation ofThreeDVectorType.writeZ(java.lang.Double).Methods inherited from class org.eclipse.milo.opcua.sdk.client.model.variables.VectorTypeNode
getVectorUnit, getVectorUnitNode, getVectorUnitNodeAsync, readVectorUnit, readVectorUnitAsync, setVectorUnit, writeVectorUnit, writeVectorUnitAsyncMethods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaVariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getAttributeValue, getDataType, getHistorizing, getMinimumSamplingInterval, getTypeDefinition, getTypeDefinitionAsync, getUserAccessLevel, getValue, getValueRank, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readAccessLevel, readAccessLevelEx, readAllowNullsAsync, readArrayDimensions, readDataType, readDataTypeVersionAsync, readDictionaryFragmentAsync, readEngineeringUnitsAsync, readHistorizing, readLocalTimeAsync, readMaxArrayLengthAsync, readMaxStringLengthAsync, readMinimumSamplingInterval, readNodeVersionAsync, readUserAccessLevel, readValue, readValueAsTextAsync, readValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setAttributeValue, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValue, setValueRank, writeAccessLevel, writeAccessLevelEx, writeAllowNullsAsync, writeArrayDimensions, writeDataType, writeDataTypeVersionAsync, writeDictionaryFragmentAsync, writeEngineeringUnitsAsync, writeHistorizing, writeLocalTimeAsync, writeMaxArrayLengthAsync, writeMaxStringLengthAsync, writeMinimumSamplingInterval, writeNodeVersionAsync, writeUserAccessLevel, writeValue, writeValue, writeValueAsTextAsync, writeValueRankMethods 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.VariableNode
getAccessLevel, getAccessLevelEx, getArrayDimensions, getDataType, getHistorizing, getMinimumSamplingInterval, getUserAccessLevel, getValue, getValueRank, setAccessLevel, setAccessLevelEx, setArrayDimensions, setDataType, setHistorizing, setMinimumSamplingInterval, setUserAccessLevel, setValue, setValueRankMethods inherited from interface org.eclipse.milo.opcua.sdk.client.model.variables.VectorType
getVectorUnit, getVectorUnitNode, getVectorUnitNodeAsync, readVectorUnit, readVectorUnitAsync, setVectorUnit, writeVectorUnit, writeVectorUnitAsync
-
Constructor Details
-
ThreeDVectorTypeNode
public ThreeDVectorTypeNode(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.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx)
-
-
Method Details
-
getX
Description copied from interface:ThreeDVectorTypeGet the local value of the X Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getXin interfaceThreeDVectorType- Returns:
- the local value of the X Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the X Node.
-
setX
Description copied from interface:ThreeDVectorTypeSet the local value of the X Node.The value is only updated locally; it is not written to the server.
- Specified by:
setXin interfaceThreeDVectorType- Parameters:
value- the local value to set for the X Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the X Node.
-
readX
Description copied from interface:ThreeDVectorTypeRead the value of the X Node from the server and update the local value if the operation succeeds.- Specified by:
readXin interfaceThreeDVectorType- Returns:
- the
Doublevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeX
Description copied from interface:ThreeDVectorTypeWrite a new value for the X Node to the server and update the local value if the operation succeeds.- Specified by:
writeXin interfaceThreeDVectorType- Parameters:
value- theDoublevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readXAsync
Description copied from interface:ThreeDVectorTypeAn asynchronous implementation ofThreeDVectorType.readX().- Specified by:
readXAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeXAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeXAsync(Double x) Description copied from interface:ThreeDVectorTypeAn asynchronous implementation ofThreeDVectorType.writeX(java.lang.Double).- Specified by:
writeXAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getXNode
Description copied from interface:ThreeDVectorTypeGet the XBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getXNodein interfaceThreeDVectorType- Returns:
- the X
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getXNodeAsync
Description copied from interface:ThreeDVectorTypeAsynchronous implementation ofThreeDVectorType.getXNode().- Specified by:
getXNodeAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getY
Description copied from interface:ThreeDVectorTypeGet the local value of the Y Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getYin interfaceThreeDVectorType- Returns:
- the local value of the Y Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Y Node.
-
setY
Description copied from interface:ThreeDVectorTypeSet the local value of the Y Node.The value is only updated locally; it is not written to the server.
- Specified by:
setYin interfaceThreeDVectorType- Parameters:
value- the local value to set for the Y Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Y Node.
-
readY
Description copied from interface:ThreeDVectorTypeRead the value of the Y Node from the server and update the local value if the operation succeeds.- Specified by:
readYin interfaceThreeDVectorType- Returns:
- the
Doublevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeY
Description copied from interface:ThreeDVectorTypeWrite a new value for the Y Node to the server and update the local value if the operation succeeds.- Specified by:
writeYin interfaceThreeDVectorType- Parameters:
value- theDoublevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readYAsync
Description copied from interface:ThreeDVectorTypeAn asynchronous implementation ofThreeDVectorType.readY().- Specified by:
readYAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeYAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeYAsync(Double y) Description copied from interface:ThreeDVectorTypeAn asynchronous implementation ofThreeDVectorType.writeY(java.lang.Double).- Specified by:
writeYAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getYNode
Description copied from interface:ThreeDVectorTypeGet the YBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getYNodein interfaceThreeDVectorType- Returns:
- the Y
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getYNodeAsync
Description copied from interface:ThreeDVectorTypeAsynchronous implementation ofThreeDVectorType.getYNode().- Specified by:
getYNodeAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getZ
Description copied from interface:ThreeDVectorTypeGet the local value of the Z Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getZin interfaceThreeDVectorType- Returns:
- the local value of the Z Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Z Node.
-
setZ
Description copied from interface:ThreeDVectorTypeSet the local value of the Z Node.The value is only updated locally; it is not written to the server.
- Specified by:
setZin interfaceThreeDVectorType- Parameters:
value- the local value to set for the Z Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Z Node.
-
readZ
Description copied from interface:ThreeDVectorTypeRead the value of the Z Node from the server and update the local value if the operation succeeds.- Specified by:
readZin interfaceThreeDVectorType- Returns:
- the
Doublevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeZ
Description copied from interface:ThreeDVectorTypeWrite a new value for the Z Node to the server and update the local value if the operation succeeds.- Specified by:
writeZin interfaceThreeDVectorType- Parameters:
value- theDoublevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readZAsync
Description copied from interface:ThreeDVectorTypeAn asynchronous implementation ofThreeDVectorType.readZ().- Specified by:
readZAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeZAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeZAsync(Double z) Description copied from interface:ThreeDVectorTypeAn asynchronous implementation ofThreeDVectorType.writeZ(java.lang.Double).- Specified by:
writeZAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getZNode
Description copied from interface:ThreeDVectorTypeGet the ZBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getZNodein interfaceThreeDVectorType- Returns:
- the Z
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getZNodeAsync
Description copied from interface:ThreeDVectorTypeAsynchronous implementation ofThreeDVectorType.getZNode().- Specified by:
getZNodeAsyncin interfaceThreeDVectorType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-