Interface DataTypeDescriptionType
- All Superinterfaces:
BaseDataVariableType,BaseVariableType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
- All Known Implementing Classes:
DataTypeDescriptionTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.ByteString> -
Method Summary
Modifier and TypeMethodDescriptionGet the local value of the DataTypeVersion Node.Get the DataTypeVersionPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetDataTypeVersionNode().org.eclipse.milo.opcua.stack.core.types.builtin.ByteStringGet the local value of the DictionaryFragment Node.Get the DictionaryFragmentPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetDictionaryFragmentNode().Read the value of the DataTypeVersion Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadDataTypeVersion().org.eclipse.milo.opcua.stack.core.types.builtin.ByteStringRead the value of the DictionaryFragment Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.ByteString>An asynchronous implementation ofreadDictionaryFragment().voidsetDataTypeVersion(String value) Set the local value of the DataTypeVersion Node.voidsetDictionaryFragment(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString value) Set the local value of the DictionaryFragment Node.voidwriteDataTypeVersion(String value) Write a new value for the DataTypeVersion Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDataTypeVersionAsync(String value) An asynchronous implementation ofwriteDataTypeVersion(java.lang.String).voidwriteDictionaryFragment(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString value) Write a new value for the DictionaryFragment Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDictionaryFragmentAsync(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString value) An asynchronous implementation ofwriteDictionaryFragment(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString).Methods 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, setValueRank
-
Field Details
-
DATA_TYPE_VERSION
-
DICTIONARY_FRAGMENT
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.ByteString> DICTIONARY_FRAGMENT
-
-
Method Details
-
getDataTypeVersion
Get the local value of the DataTypeVersion Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the DataTypeVersion Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DataTypeVersion Node.
-
setDataTypeVersion
Set the local value of the DataTypeVersion Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the DataTypeVersion Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DataTypeVersion Node.
-
readDataTypeVersion
Read the value of the DataTypeVersion Node from the server and update the local value if the operation succeeds.- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDataTypeVersion
Write a new value for the DataTypeVersion Node to the server and update the local value if the operation succeeds.- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDataTypeVersionAsync
CompletableFuture<? extends String> readDataTypeVersionAsync()An asynchronous implementation ofreadDataTypeVersion().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDataTypeVersionAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDataTypeVersionAsync(String value) An asynchronous implementation ofwriteDataTypeVersion(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDataTypeVersionNode
Get the DataTypeVersionPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the DataTypeVersion
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDataTypeVersionNodeAsync
CompletableFuture<? extends PropertyType> getDataTypeVersionNodeAsync()Asynchronous implementation ofgetDataTypeVersionNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getDictionaryFragment
org.eclipse.milo.opcua.stack.core.types.builtin.ByteString getDictionaryFragment() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the DictionaryFragment Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the DictionaryFragment Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DictionaryFragment Node.
-
setDictionaryFragment
void setDictionaryFragment(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the DictionaryFragment Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the DictionaryFragment Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DictionaryFragment Node.
-
readDictionaryFragment
org.eclipse.milo.opcua.stack.core.types.builtin.ByteString readDictionaryFragment() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the DictionaryFragment Node from the server and update the local value if the operation succeeds.- Returns:
- the
ByteStringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDictionaryFragment
void writeDictionaryFragment(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the DictionaryFragment Node to the server and update the local value if the operation succeeds.- Parameters:
value- theByteStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDictionaryFragmentAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.ByteString> readDictionaryFragmentAsync()An asynchronous implementation ofreadDictionaryFragment().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDictionaryFragmentAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDictionaryFragmentAsync(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString value) An asynchronous implementation ofwriteDictionaryFragment(org.eclipse.milo.opcua.stack.core.types.builtin.ByteString).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDictionaryFragmentNode
Get the DictionaryFragmentPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the DictionaryFragment
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDictionaryFragmentNodeAsync
CompletableFuture<? extends PropertyType> getDictionaryFragmentNodeAsync()Asynchronous implementation ofgetDictionaryFragmentNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-