Class FileTypeNode
- All Implemented Interfaces:
BaseObjectType,FileType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- Direct Known Subclasses:
AddressSpaceFileTypeNode,PubSubConfigurationTypeNode,TrustListTypeNode
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.FileType
LAST_MODIFIED_TIME, MAX_BYTE_STRING_LENGTH, MIME_TYPE, OPEN_COUNT, SIZE, USER_WRITABLE, WRITABLE -
Constructor Summary
ConstructorsConstructorDescriptionFileTypeNode(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.DateTimeGet the local value of the LastModifiedTime Node.Get the LastModifiedTimePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofFileType.getLastModifiedTimeNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerGet the local value of the MaxByteStringLength Node.Get the MaxByteStringLengthPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofFileType.getMaxByteStringLengthNode().Get the local value of the MimeType Node.Get the MimeTypePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofFileType.getMimeTypeNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShortGet the local value of the OpenCount Node.Get the OpenCountPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofFileType.getOpenCountNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULonggetSize()Get the local value of the Size Node.Get the SizePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofFileType.getSizeNode().Get the local value of the UserWritable Node.Get the UserWritablePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofFileType.getUserWritableNode().Get the local value of the Writable Node.Get the WritablePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofFileType.getWritableNode().org.eclipse.milo.opcua.stack.core.types.builtin.DateTimeRead the value of the LastModifiedTime Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime>An asynchronous implementation ofFileType.readLastModifiedTime().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerRead the value of the MaxByteStringLength Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger>An asynchronous implementation ofFileType.readMaxByteStringLength().Read the value of the MimeType Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofFileType.readMimeType().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShortRead the value of the OpenCount 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 ofFileType.readOpenCount().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULongreadSize()Read the value of the Size Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong>An asynchronous implementation ofFileType.readSize().Read the value of the UserWritable Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofFileType.readUserWritable().Read the value of the Writable Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofFileType.readWritable().voidsetLastModifiedTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) Set the local value of the LastModifiedTime Node.voidsetMaxByteStringLength(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Set the local value of the MaxByteStringLength Node.voidsetMimeType(String value) Set the local value of the MimeType Node.voidsetOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) Set the local value of the OpenCount Node.voidsetSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong value) Set the local value of the Size Node.voidsetUserWritable(Boolean value) Set the local value of the UserWritable Node.voidsetWritable(Boolean value) Set the local value of the Writable Node.voidwriteLastModifiedTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) Write a new value for the LastModifiedTime Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeLastModifiedTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime lastModifiedTime) An asynchronous implementation ofFileType.writeLastModifiedTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).voidwriteMaxByteStringLength(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Write a new value for the MaxByteStringLength Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeMaxByteStringLengthAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger maxByteStringLength) An asynchronous implementation ofFileType.writeMaxByteStringLength(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).voidwriteMimeType(String value) Write a new value for the MimeType Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeMimeTypeAsync(String mimeType) An asynchronous implementation ofFileType.writeMimeType(java.lang.String).voidwriteOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) Write a new value for the OpenCount Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeOpenCountAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort openCount) An asynchronous implementation ofFileType.writeOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort).voidwriteSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong value) Write a new value for the Size Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeSizeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong size) An asynchronous implementation ofFileType.writeSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong).voidwriteUserWritable(Boolean value) Write a new value for the UserWritable Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeUserWritableAsync(Boolean userWritable) An asynchronous implementation ofFileType.writeUserWritable(java.lang.Boolean).voidwriteWritable(Boolean value) Write a new value for the Writable Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeWritableAsync(Boolean writable) An asynchronous implementation ofFileType.writeWritable(java.lang.Boolean).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
-
FileTypeNode
public FileTypeNode(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
-
getSize
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong getSize() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeGet the local value of the Size Node.The returned value is the last seen; it is not read live from the server.
-
setSize
public void setSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FileTypeSet the local value of the Size Node.The value is only updated locally; it is not written to the server.
-
readSize
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong readSize() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeRead the value of the Size Node from the server and update the local value if the operation succeeds. -
writeSize
public void writeSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FileTypeWrite a new value for the Size Node to the server and update the local value if the operation succeeds. -
readSizeAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong> readSizeAsync()Description copied from interface:FileTypeAn asynchronous implementation ofFileType.readSize().- Specified by:
readSizeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSizeAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSizeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong size) Description copied from interface:FileTypeAn asynchronous implementation ofFileType.writeSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong).- Specified by:
writeSizeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSizeNode
Description copied from interface:FileTypeGet the SizePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getSizeNodein interfaceFileType- Returns:
- the Size
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getSizeNodeAsync
Description copied from interface:FileTypeAsynchronous implementation ofFileType.getSizeNode().- Specified by:
getSizeNodeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getWritable
Description copied from interface:FileTypeGet the local value of the Writable Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getWritablein interfaceFileType- Returns:
- the local value of the Writable Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Writable Node.
-
setWritable
Description copied from interface:FileTypeSet the local value of the Writable Node.The value is only updated locally; it is not written to the server.
- Specified by:
setWritablein interfaceFileType- Parameters:
value- the local value to set for the Writable Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Writable Node.
-
readWritable
Description copied from interface:FileTypeRead the value of the Writable Node from the server and update the local value if the operation succeeds.- Specified by:
readWritablein interfaceFileType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeWritable
Description copied from interface:FileTypeWrite a new value for the Writable Node to the server and update the local value if the operation succeeds.- Specified by:
writeWritablein interfaceFileType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readWritableAsync
Description copied from interface:FileTypeAn asynchronous implementation ofFileType.readWritable().- Specified by:
readWritableAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeWritableAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeWritableAsync(Boolean writable) Description copied from interface:FileTypeAn asynchronous implementation ofFileType.writeWritable(java.lang.Boolean).- Specified by:
writeWritableAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getWritableNode
Description copied from interface:FileTypeGet the WritablePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getWritableNodein interfaceFileType- Returns:
- the Writable
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getWritableNodeAsync
Description copied from interface:FileTypeAsynchronous implementation ofFileType.getWritableNode().- Specified by:
getWritableNodeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getUserWritable
Description copied from interface:FileTypeGet the local value of the UserWritable Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getUserWritablein interfaceFileType- Returns:
- the local value of the UserWritable Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the UserWritable Node.
-
setUserWritable
Description copied from interface:FileTypeSet the local value of the UserWritable Node.The value is only updated locally; it is not written to the server.
- Specified by:
setUserWritablein interfaceFileType- Parameters:
value- the local value to set for the UserWritable Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the UserWritable Node.
-
readUserWritable
Description copied from interface:FileTypeRead the value of the UserWritable Node from the server and update the local value if the operation succeeds.- Specified by:
readUserWritablein interfaceFileType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeUserWritable
Description copied from interface:FileTypeWrite a new value for the UserWritable Node to the server and update the local value if the operation succeeds.- Specified by:
writeUserWritablein interfaceFileType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readUserWritableAsync
Description copied from interface:FileTypeAn asynchronous implementation ofFileType.readUserWritable().- Specified by:
readUserWritableAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeUserWritableAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeUserWritableAsync(Boolean userWritable) Description copied from interface:FileTypeAn asynchronous implementation ofFileType.writeUserWritable(java.lang.Boolean).- Specified by:
writeUserWritableAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getUserWritableNode
Description copied from interface:FileTypeGet the UserWritablePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getUserWritableNodein interfaceFileType- Returns:
- the UserWritable
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getUserWritableNodeAsync
Description copied from interface:FileTypeAsynchronous implementation ofFileType.getUserWritableNode().- Specified by:
getUserWritableNodeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getOpenCount
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort getOpenCount() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeGet the local value of the OpenCount Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getOpenCountin interfaceFileType- Returns:
- the local value of the OpenCount Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the OpenCount Node.
-
setOpenCount
public void setOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FileTypeSet the local value of the OpenCount Node.The value is only updated locally; it is not written to the server.
- Specified by:
setOpenCountin interfaceFileType- Parameters:
value- the local value to set for the OpenCount Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the OpenCount Node.
-
readOpenCount
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort readOpenCount() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeRead the value of the OpenCount Node from the server and update the local value if the operation succeeds.- Specified by:
readOpenCountin interfaceFileType- Returns:
- the
UShortvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeOpenCount
public void writeOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FileTypeWrite a new value for the OpenCount Node to the server and update the local value if the operation succeeds.- Specified by:
writeOpenCountin interfaceFileType- Parameters:
value- theUShortvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readOpenCountAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort> readOpenCountAsync()Description copied from interface:FileTypeAn asynchronous implementation ofFileType.readOpenCount().- Specified by:
readOpenCountAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeOpenCountAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeOpenCountAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort openCount) Description copied from interface:FileTypeAn asynchronous implementation ofFileType.writeOpenCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UShort).- Specified by:
writeOpenCountAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getOpenCountNode
Description copied from interface:FileTypeGet the OpenCountPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getOpenCountNodein interfaceFileType- Returns:
- the OpenCount
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getOpenCountNodeAsync
Description copied from interface:FileTypeAsynchronous implementation ofFileType.getOpenCountNode().- Specified by:
getOpenCountNodeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getMimeType
Description copied from interface:FileTypeGet the local value of the MimeType Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getMimeTypein interfaceFileType- Returns:
- the local value of the MimeType Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MimeType Node.
-
setMimeType
Description copied from interface:FileTypeSet the local value of the MimeType Node.The value is only updated locally; it is not written to the server.
- Specified by:
setMimeTypein interfaceFileType- Parameters:
value- the local value to set for the MimeType Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MimeType Node.
-
readMimeType
Description copied from interface:FileTypeRead the value of the MimeType Node from the server and update the local value if the operation succeeds.- Specified by:
readMimeTypein interfaceFileType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeMimeType
Description copied from interface:FileTypeWrite a new value for the MimeType Node to the server and update the local value if the operation succeeds.- Specified by:
writeMimeTypein interfaceFileType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readMimeTypeAsync
Description copied from interface:FileTypeAn asynchronous implementation ofFileType.readMimeType().- Specified by:
readMimeTypeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeMimeTypeAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeMimeTypeAsync(String mimeType) Description copied from interface:FileTypeAn asynchronous implementation ofFileType.writeMimeType(java.lang.String).- Specified by:
writeMimeTypeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getMimeTypeNode
Description copied from interface:FileTypeGet the MimeTypePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getMimeTypeNodein interfaceFileType- Returns:
- the MimeType
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getMimeTypeNodeAsync
Description copied from interface:FileTypeAsynchronous implementation ofFileType.getMimeTypeNode().- Specified by:
getMimeTypeNodeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getMaxByteStringLength
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getMaxByteStringLength() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeGet the local value of the MaxByteStringLength Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getMaxByteStringLengthin interfaceFileType- Returns:
- the local value of the MaxByteStringLength Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MaxByteStringLength Node.
-
setMaxByteStringLength
public void setMaxByteStringLength(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FileTypeSet the local value of the MaxByteStringLength Node.The value is only updated locally; it is not written to the server.
- Specified by:
setMaxByteStringLengthin interfaceFileType- Parameters:
value- the local value to set for the MaxByteStringLength Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MaxByteStringLength Node.
-
readMaxByteStringLength
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readMaxByteStringLength() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeRead the value of the MaxByteStringLength Node from the server and update the local value if the operation succeeds.- Specified by:
readMaxByteStringLengthin interfaceFileType- Returns:
- the
UIntegervalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeMaxByteStringLength
public void writeMaxByteStringLength(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FileTypeWrite a new value for the MaxByteStringLength Node to the server and update the local value if the operation succeeds.- Specified by:
writeMaxByteStringLengthin interfaceFileType- Parameters:
value- theUIntegervalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readMaxByteStringLengthAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readMaxByteStringLengthAsync()Description copied from interface:FileTypeAn asynchronous implementation ofFileType.readMaxByteStringLength().- Specified by:
readMaxByteStringLengthAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeMaxByteStringLengthAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeMaxByteStringLengthAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger maxByteStringLength) Description copied from interface:FileTypeAn asynchronous implementation ofFileType.writeMaxByteStringLength(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).- Specified by:
writeMaxByteStringLengthAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getMaxByteStringLengthNode
public PropertyTypeNode getMaxByteStringLengthNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeGet the MaxByteStringLengthPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getMaxByteStringLengthNodein interfaceFileType- Returns:
- the MaxByteStringLength
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getMaxByteStringLengthNodeAsync
Description copied from interface:FileTypeAsynchronous implementation ofFileType.getMaxByteStringLengthNode().- Specified by:
getMaxByteStringLengthNodeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getLastModifiedTime
public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime getLastModifiedTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeGet the local value of the LastModifiedTime Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getLastModifiedTimein interfaceFileType- Returns:
- the local value of the LastModifiedTime Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the LastModifiedTime Node.
-
setLastModifiedTime
public void setLastModifiedTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FileTypeSet the local value of the LastModifiedTime Node.The value is only updated locally; it is not written to the server.
- Specified by:
setLastModifiedTimein interfaceFileType- Parameters:
value- the local value to set for the LastModifiedTime Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the LastModifiedTime Node.
-
readLastModifiedTime
public org.eclipse.milo.opcua.stack.core.types.builtin.DateTime readLastModifiedTime() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeRead the value of the LastModifiedTime Node from the server and update the local value if the operation succeeds.- Specified by:
readLastModifiedTimein interfaceFileType- Returns:
- the
DateTimevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeLastModifiedTime
public void writeLastModifiedTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:FileTypeWrite a new value for the LastModifiedTime Node to the server and update the local value if the operation succeeds.- Specified by:
writeLastModifiedTimein interfaceFileType- Parameters:
value- theDateTimevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readLastModifiedTimeAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.DateTime> readLastModifiedTimeAsync()Description copied from interface:FileTypeAn asynchronous implementation ofFileType.readLastModifiedTime().- Specified by:
readLastModifiedTimeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeLastModifiedTimeAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeLastModifiedTimeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime lastModifiedTime) Description copied from interface:FileTypeAn asynchronous implementation ofFileType.writeLastModifiedTime(org.eclipse.milo.opcua.stack.core.types.builtin.DateTime).- Specified by:
writeLastModifiedTimeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getLastModifiedTimeNode
public PropertyTypeNode getLastModifiedTimeNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:FileTypeGet the LastModifiedTimePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getLastModifiedTimeNodein interfaceFileType- Returns:
- the LastModifiedTime
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getLastModifiedTimeNodeAsync
Description copied from interface:FileTypeAsynchronous implementation ofFileType.getLastModifiedTimeNode().- Specified by:
getLastModifiedTimeNodeAsyncin interfaceFileType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-