Class KeyCredentialConfigurationTypeNode
- All Implemented Interfaces:
BaseObjectType,KeyCredentialConfigurationType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.KeyCredentialConfigurationType
CREDENTIAL_ID, ENDPOINT_URLS, PROFILE_URI, RESOURCE_URI, SERVICE_STATUS -
Constructor Summary
ConstructorsConstructorDescriptionKeyCredentialConfigurationTypeNode(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 TypeMethodDescriptionGet the local value of the CredentialId Node.Get the CredentialIdPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofKeyCredentialConfigurationType.getCredentialIdNode().String[]Get the local value of the EndpointUrls Node.Get the EndpointUrlsPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofKeyCredentialConfigurationType.getEndpointUrlsNode().Get the local value of the ProfileUri Node.Get the ProfileUriPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofKeyCredentialConfigurationType.getProfileUriNode().Get the local value of the ResourceUri Node.Get the ResourceUriPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofKeyCredentialConfigurationType.getResourceUriNode().org.eclipse.milo.opcua.stack.core.types.builtin.StatusCodeGet the local value of the ServiceStatus Node.Get the ServiceStatusPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofKeyCredentialConfigurationType.getServiceStatusNode().Read the value of the CredentialId Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofKeyCredentialConfigurationType.readCredentialId().String[]Read the value of the EndpointUrls Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String[]>An asynchronous implementation ofKeyCredentialConfigurationType.readEndpointUrls().Read the value of the ProfileUri Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofKeyCredentialConfigurationType.readProfileUri().Read the value of the ResourceUri Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofKeyCredentialConfigurationType.readResourceUri().org.eclipse.milo.opcua.stack.core.types.builtin.StatusCodeRead the value of the ServiceStatus Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>An asynchronous implementation ofKeyCredentialConfigurationType.readServiceStatus().voidsetCredentialId(String value) Set the local value of the CredentialId Node.voidsetEndpointUrls(String[] value) Set the local value of the EndpointUrls Node.voidsetProfileUri(String value) Set the local value of the ProfileUri Node.voidsetResourceUri(String value) Set the local value of the ResourceUri Node.voidsetServiceStatus(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode value) Set the local value of the ServiceStatus Node.voidwriteCredentialId(String value) Write a new value for the CredentialId Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeCredentialIdAsync(String credentialId) An asynchronous implementation ofKeyCredentialConfigurationType.writeCredentialId(java.lang.String).voidwriteEndpointUrls(String[] value) Write a new value for the EndpointUrls Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeEndpointUrlsAsync(String[] endpointUrls) An asynchronous implementation ofKeyCredentialConfigurationType.writeEndpointUrls(java.lang.String[]).voidwriteProfileUri(String value) Write a new value for the ProfileUri Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeProfileUriAsync(String profileUri) An asynchronous implementation ofKeyCredentialConfigurationType.writeProfileUri(java.lang.String).voidwriteResourceUri(String value) Write a new value for the ResourceUri Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeResourceUriAsync(String resourceUri) An asynchronous implementation ofKeyCredentialConfigurationType.writeResourceUri(java.lang.String).voidwriteServiceStatus(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode value) Write a new value for the ServiceStatus Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeServiceStatusAsync(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode serviceStatus) An asynchronous implementation ofKeyCredentialConfigurationType.writeServiceStatus(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode).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
-
KeyCredentialConfigurationTypeNode
public KeyCredentialConfigurationTypeNode(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
-
getResourceUri
Description copied from interface:KeyCredentialConfigurationTypeGet the local value of the ResourceUri Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getResourceUriin interfaceKeyCredentialConfigurationType- Returns:
- the local value of the ResourceUri Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ResourceUri Node.
-
setResourceUri
Description copied from interface:KeyCredentialConfigurationTypeSet the local value of the ResourceUri Node.The value is only updated locally; it is not written to the server.
- Specified by:
setResourceUriin interfaceKeyCredentialConfigurationType- Parameters:
value- the local value to set for the ResourceUri Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ResourceUri Node.
-
readResourceUri
Description copied from interface:KeyCredentialConfigurationTypeRead the value of the ResourceUri Node from the server and update the local value if the operation succeeds.- Specified by:
readResourceUriin interfaceKeyCredentialConfigurationType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeResourceUri
Description copied from interface:KeyCredentialConfigurationTypeWrite a new value for the ResourceUri Node to the server and update the local value if the operation succeeds.- Specified by:
writeResourceUriin interfaceKeyCredentialConfigurationType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readResourceUriAsync
Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.readResourceUri().- Specified by:
readResourceUriAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeResourceUriAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeResourceUriAsync(String resourceUri) Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.writeResourceUri(java.lang.String).- Specified by:
writeResourceUriAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getResourceUriNode
Description copied from interface:KeyCredentialConfigurationTypeGet the ResourceUriPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getResourceUriNodein interfaceKeyCredentialConfigurationType- Returns:
- the ResourceUri
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getResourceUriNodeAsync
Description copied from interface:KeyCredentialConfigurationTypeAsynchronous implementation ofKeyCredentialConfigurationType.getResourceUriNode().- Specified by:
getResourceUriNodeAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getProfileUri
Description copied from interface:KeyCredentialConfigurationTypeGet the local value of the ProfileUri Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getProfileUriin interfaceKeyCredentialConfigurationType- Returns:
- the local value of the ProfileUri Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ProfileUri Node.
-
setProfileUri
Description copied from interface:KeyCredentialConfigurationTypeSet the local value of the ProfileUri Node.The value is only updated locally; it is not written to the server.
- Specified by:
setProfileUriin interfaceKeyCredentialConfigurationType- Parameters:
value- the local value to set for the ProfileUri Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ProfileUri Node.
-
readProfileUri
Description copied from interface:KeyCredentialConfigurationTypeRead the value of the ProfileUri Node from the server and update the local value if the operation succeeds.- Specified by:
readProfileUriin interfaceKeyCredentialConfigurationType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeProfileUri
Description copied from interface:KeyCredentialConfigurationTypeWrite a new value for the ProfileUri Node to the server and update the local value if the operation succeeds.- Specified by:
writeProfileUriin interfaceKeyCredentialConfigurationType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readProfileUriAsync
Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.readProfileUri().- Specified by:
readProfileUriAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeProfileUriAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeProfileUriAsync(String profileUri) Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.writeProfileUri(java.lang.String).- Specified by:
writeProfileUriAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getProfileUriNode
Description copied from interface:KeyCredentialConfigurationTypeGet the ProfileUriPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getProfileUriNodein interfaceKeyCredentialConfigurationType- Returns:
- the ProfileUri
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getProfileUriNodeAsync
Description copied from interface:KeyCredentialConfigurationTypeAsynchronous implementation ofKeyCredentialConfigurationType.getProfileUriNode().- Specified by:
getProfileUriNodeAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getEndpointUrls
Description copied from interface:KeyCredentialConfigurationTypeGet the local value of the EndpointUrls Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getEndpointUrlsin interfaceKeyCredentialConfigurationType- Returns:
- the local value of the EndpointUrls Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the EndpointUrls Node.
-
setEndpointUrls
Description copied from interface:KeyCredentialConfigurationTypeSet the local value of the EndpointUrls Node.The value is only updated locally; it is not written to the server.
- Specified by:
setEndpointUrlsin interfaceKeyCredentialConfigurationType- Parameters:
value- the local value to set for the EndpointUrls Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the EndpointUrls Node.
-
readEndpointUrls
Description copied from interface:KeyCredentialConfigurationTypeRead the value of the EndpointUrls Node from the server and update the local value if the operation succeeds.- Specified by:
readEndpointUrlsin interfaceKeyCredentialConfigurationType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeEndpointUrls
Description copied from interface:KeyCredentialConfigurationTypeWrite a new value for the EndpointUrls Node to the server and update the local value if the operation succeeds.- Specified by:
writeEndpointUrlsin interfaceKeyCredentialConfigurationType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readEndpointUrlsAsync
Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.readEndpointUrls().- Specified by:
readEndpointUrlsAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeEndpointUrlsAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEndpointUrlsAsync(String[] endpointUrls) Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.writeEndpointUrls(java.lang.String[]).- Specified by:
writeEndpointUrlsAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getEndpointUrlsNode
Description copied from interface:KeyCredentialConfigurationTypeGet the EndpointUrlsPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getEndpointUrlsNodein interfaceKeyCredentialConfigurationType- Returns:
- the EndpointUrls
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getEndpointUrlsNodeAsync
Description copied from interface:KeyCredentialConfigurationTypeAsynchronous implementation ofKeyCredentialConfigurationType.getEndpointUrlsNode().- Specified by:
getEndpointUrlsNodeAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getCredentialId
Description copied from interface:KeyCredentialConfigurationTypeGet the local value of the CredentialId Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getCredentialIdin interfaceKeyCredentialConfigurationType- Returns:
- the local value of the CredentialId Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CredentialId Node.
-
setCredentialId
Description copied from interface:KeyCredentialConfigurationTypeSet the local value of the CredentialId Node.The value is only updated locally; it is not written to the server.
- Specified by:
setCredentialIdin interfaceKeyCredentialConfigurationType- Parameters:
value- the local value to set for the CredentialId Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CredentialId Node.
-
readCredentialId
Description copied from interface:KeyCredentialConfigurationTypeRead the value of the CredentialId Node from the server and update the local value if the operation succeeds.- Specified by:
readCredentialIdin interfaceKeyCredentialConfigurationType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeCredentialId
Description copied from interface:KeyCredentialConfigurationTypeWrite a new value for the CredentialId Node to the server and update the local value if the operation succeeds.- Specified by:
writeCredentialIdin interfaceKeyCredentialConfigurationType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readCredentialIdAsync
Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.readCredentialId().- Specified by:
readCredentialIdAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeCredentialIdAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeCredentialIdAsync(String credentialId) Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.writeCredentialId(java.lang.String).- Specified by:
writeCredentialIdAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getCredentialIdNode
Description copied from interface:KeyCredentialConfigurationTypeGet the CredentialIdPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getCredentialIdNodein interfaceKeyCredentialConfigurationType- Returns:
- the CredentialId
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getCredentialIdNodeAsync
Description copied from interface:KeyCredentialConfigurationTypeAsynchronous implementation ofKeyCredentialConfigurationType.getCredentialIdNode().- Specified by:
getCredentialIdNodeAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getServiceStatus
public org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode getServiceStatus() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:KeyCredentialConfigurationTypeGet the local value of the ServiceStatus Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getServiceStatusin interfaceKeyCredentialConfigurationType- Returns:
- the local value of the ServiceStatus Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ServiceStatus Node.
-
setServiceStatus
public void setServiceStatus(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:KeyCredentialConfigurationTypeSet the local value of the ServiceStatus Node.The value is only updated locally; it is not written to the server.
- Specified by:
setServiceStatusin interfaceKeyCredentialConfigurationType- Parameters:
value- the local value to set for the ServiceStatus Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ServiceStatus Node.
-
readServiceStatus
public org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode readServiceStatus() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:KeyCredentialConfigurationTypeRead the value of the ServiceStatus Node from the server and update the local value if the operation succeeds.- Specified by:
readServiceStatusin interfaceKeyCredentialConfigurationType- Returns:
- the
StatusCodevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeServiceStatus
public void writeServiceStatus(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:KeyCredentialConfigurationTypeWrite a new value for the ServiceStatus Node to the server and update the local value if the operation succeeds.- Specified by:
writeServiceStatusin interfaceKeyCredentialConfigurationType- Parameters:
value- theStatusCodevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readServiceStatusAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> readServiceStatusAsync()Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.readServiceStatus().- Specified by:
readServiceStatusAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeServiceStatusAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeServiceStatusAsync(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode serviceStatus) Description copied from interface:KeyCredentialConfigurationTypeAn asynchronous implementation ofKeyCredentialConfigurationType.writeServiceStatus(org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode).- Specified by:
writeServiceStatusAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getServiceStatusNode
Description copied from interface:KeyCredentialConfigurationTypeGet the ServiceStatusPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getServiceStatusNodein interfaceKeyCredentialConfigurationType- Returns:
- the ServiceStatus
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getServiceStatusNodeAsync
Description copied from interface:KeyCredentialConfigurationTypeAsynchronous implementation ofKeyCredentialConfigurationType.getServiceStatusNode().- Specified by:
getServiceStatusNodeAsyncin interfaceKeyCredentialConfigurationType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-