Interface OptionSetType
- All Superinterfaces:
BaseDataVariableType,BaseVariableType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
- All Known Implementing Classes:
OptionSetTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<Boolean[]>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]> -
Method Summary
Modifier and TypeMethodDescriptionBoolean[]Get the local value of the BitMask Node.Get the BitMaskPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetBitMaskNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]Get the local value of the OptionSetValues Node.Get the OptionSetValuesPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetOptionSetValuesNode().Boolean[]Read the value of the BitMask Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean[]>An asynchronous implementation ofreadBitMask().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]Read the value of the OptionSetValues Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]>An asynchronous implementation ofreadOptionSetValues().voidsetBitMask(Boolean[] value) Set the local value of the BitMask Node.voidsetOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) Set the local value of the OptionSetValues Node.voidwriteBitMask(Boolean[] value) Write a new value for the BitMask Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeBitMaskAsync(Boolean[] value) An asynchronous implementation ofwriteBitMask(java.lang.Boolean[]).voidwriteOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) Write a new value for the OptionSetValues Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeOptionSetValuesAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) An asynchronous implementation ofwriteOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]).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
-
OPTION_SET_VALUES
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]> OPTION_SET_VALUES -
BIT_MASK
-
-
Method Details
-
getOptionSetValues
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] getOptionSetValues() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the OptionSetValues Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the OptionSetValues Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the OptionSetValues Node.
-
setOptionSetValues
void setOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the OptionSetValues Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the OptionSetValues Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the OptionSetValues Node.
-
readOptionSetValues
org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] readOptionSetValues() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the OptionSetValues Node from the server and update the local value if the operation succeeds.- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeOptionSetValues
void writeOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the OptionSetValues Node to the server and update the local value if the operation succeeds.- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readOptionSetValuesAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]> readOptionSetValuesAsync()An asynchronous implementation ofreadOptionSetValues().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeOptionSetValuesAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeOptionSetValuesAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[] value) An asynchronous implementation ofwriteOptionSetValues(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText[]).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getOptionSetValuesNode
Get the OptionSetValuesPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the OptionSetValues
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getOptionSetValuesNodeAsync
CompletableFuture<? extends PropertyType> getOptionSetValuesNodeAsync()Asynchronous implementation ofgetOptionSetValuesNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getBitMask
Get the local value of the BitMask Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the BitMask Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the BitMask Node.
-
setBitMask
Set the local value of the BitMask Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the BitMask Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the BitMask Node.
-
readBitMask
Read the value of the BitMask Node from the server and update the local value if the operation succeeds.- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeBitMask
Write a new value for the BitMask Node to the server and update the local value if the operation succeeds.- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readBitMaskAsync
CompletableFuture<? extends Boolean[]> readBitMaskAsync()An asynchronous implementation ofreadBitMask().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeBitMaskAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeBitMaskAsync(Boolean[] value) An asynchronous implementation ofwriteBitMask(java.lang.Boolean[]).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getBitMaskNode
Get the BitMaskPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the BitMask
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getBitMaskNodeAsync
CompletableFuture<? extends PropertyType> getBitMaskNodeAsync()Asynchronous implementation ofgetBitMaskNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-