Class RoleTypeNode
- All Implemented Interfaces:
BaseObjectType,RoleType,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.RoleType
APPLICATIONS, APPLICATIONS_EXCLUDE, CUSTOM_CONFIGURATION, ENDPOINTS, ENDPOINTS_EXCLUDE, IDENTITIES -
Constructor Summary
ConstructorsConstructorDescriptionRoleTypeNode(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 TypeMethodDescriptionString[]Get the local value of the Applications Node.Get the local value of the ApplicationsExclude Node.Get the ApplicationsExcludePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofRoleType.getApplicationsExcludeNode().Get the ApplicationsPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofRoleType.getApplicationsNode().Get the local value of the CustomConfiguration Node.Get the CustomConfigurationPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofRoleType.getCustomConfigurationNode().org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[]Get the local value of the Endpoints Node.Get the local value of the EndpointsExclude Node.Get the EndpointsExcludePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofRoleType.getEndpointsExcludeNode().Get the EndpointsPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofRoleType.getEndpointsNode().org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[]Get the local value of the Identities Node.Get the IdentitiesPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofRoleType.getIdentitiesNode().String[]Read the value of the Applications Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String[]>An asynchronous implementation ofRoleType.readApplications().Read the value of the ApplicationsExclude Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofRoleType.readApplicationsExclude().Read the value of the CustomConfiguration Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofRoleType.readCustomConfiguration().org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[]Read the value of the Endpoints Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[]>An asynchronous implementation ofRoleType.readEndpoints().Read the value of the EndpointsExclude Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Boolean>An asynchronous implementation ofRoleType.readEndpointsExclude().org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[]Read the value of the Identities Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[]>An asynchronous implementation ofRoleType.readIdentities().voidsetApplications(String[] value) Set the local value of the Applications Node.voidsetApplicationsExclude(Boolean value) Set the local value of the ApplicationsExclude Node.voidsetCustomConfiguration(Boolean value) Set the local value of the CustomConfiguration Node.voidsetEndpoints(org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[] value) Set the local value of the Endpoints Node.voidsetEndpointsExclude(Boolean value) Set the local value of the EndpointsExclude Node.voidsetIdentities(org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[] value) Set the local value of the Identities Node.voidwriteApplications(String[] value) Write a new value for the Applications Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeApplicationsAsync(String[] applications) An asynchronous implementation ofRoleType.writeApplications(java.lang.String[]).voidwriteApplicationsExclude(Boolean value) Write a new value for the ApplicationsExclude Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeApplicationsExcludeAsync(Boolean applicationsExclude) An asynchronous implementation ofRoleType.writeApplicationsExclude(java.lang.Boolean).voidwriteCustomConfiguration(Boolean value) Write a new value for the CustomConfiguration Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeCustomConfigurationAsync(Boolean customConfiguration) An asynchronous implementation ofRoleType.writeCustomConfiguration(java.lang.Boolean).voidwriteEndpoints(org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[] value) Write a new value for the Endpoints Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeEndpointsAsync(org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[] endpoints) An asynchronous implementation ofRoleType.writeEndpoints(org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[]).voidwriteEndpointsExclude(Boolean value) Write a new value for the EndpointsExclude Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeEndpointsExcludeAsync(Boolean endpointsExclude) An asynchronous implementation ofRoleType.writeEndpointsExclude(java.lang.Boolean).voidwriteIdentities(org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[] value) Write a new value for the Identities Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeIdentitiesAsync(org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[] identities) An asynchronous implementation ofRoleType.writeIdentities(org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[]).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
-
RoleTypeNode
public RoleTypeNode(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
-
getIdentities
public org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[] getIdentities() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:RoleTypeGet the local value of the Identities Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getIdentitiesin interfaceRoleType- Returns:
- the local value of the Identities Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Identities Node.
-
setIdentities
public void setIdentities(org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeSet the local value of the Identities Node.The value is only updated locally; it is not written to the server.
- Specified by:
setIdentitiesin interfaceRoleType- Parameters:
value- the local value to set for the Identities Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Identities Node.
-
readIdentities
public org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[] readIdentities() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:RoleTypeRead the value of the Identities Node from the server and update the local value if the operation succeeds.- Specified by:
readIdentitiesin interfaceRoleType- Returns:
- the
IdentityMappingRuleTypevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeIdentities
public void writeIdentities(org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeWrite a new value for the Identities Node to the server and update the local value if the operation succeeds.- Specified by:
writeIdentitiesin interfaceRoleType- Parameters:
value- theIdentityMappingRuleTypevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readIdentitiesAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[]> readIdentitiesAsync()Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.readIdentities().- Specified by:
readIdentitiesAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeIdentitiesAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeIdentitiesAsync(org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[] identities) Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.writeIdentities(org.eclipse.milo.opcua.stack.core.types.structured.IdentityMappingRuleType[]).- Specified by:
writeIdentitiesAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getIdentitiesNode
Description copied from interface:RoleTypeGet the IdentitiesPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getIdentitiesNodein interfaceRoleType- Returns:
- the Identities
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getIdentitiesNodeAsync
Description copied from interface:RoleTypeAsynchronous implementation ofRoleType.getIdentitiesNode().- Specified by:
getIdentitiesNodeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getApplicationsExclude
Description copied from interface:RoleTypeGet the local value of the ApplicationsExclude Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getApplicationsExcludein interfaceRoleType- Returns:
- the local value of the ApplicationsExclude Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ApplicationsExclude Node.
-
setApplicationsExclude
public void setApplicationsExclude(Boolean value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeSet the local value of the ApplicationsExclude Node.The value is only updated locally; it is not written to the server.
- Specified by:
setApplicationsExcludein interfaceRoleType- Parameters:
value- the local value to set for the ApplicationsExclude Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ApplicationsExclude Node.
-
readApplicationsExclude
Description copied from interface:RoleTypeRead the value of the ApplicationsExclude Node from the server and update the local value if the operation succeeds.- Specified by:
readApplicationsExcludein interfaceRoleType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeApplicationsExclude
public void writeApplicationsExclude(Boolean value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeWrite a new value for the ApplicationsExclude Node to the server and update the local value if the operation succeeds.- Specified by:
writeApplicationsExcludein interfaceRoleType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readApplicationsExcludeAsync
Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.readApplicationsExclude().- Specified by:
readApplicationsExcludeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeApplicationsExcludeAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeApplicationsExcludeAsync(Boolean applicationsExclude) Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.writeApplicationsExclude(java.lang.Boolean).- Specified by:
writeApplicationsExcludeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getApplicationsExcludeNode
public PropertyTypeNode getApplicationsExcludeNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:RoleTypeGet the ApplicationsExcludePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getApplicationsExcludeNodein interfaceRoleType- Returns:
- the ApplicationsExclude
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getApplicationsExcludeNodeAsync
Description copied from interface:RoleTypeAsynchronous implementation ofRoleType.getApplicationsExcludeNode().- Specified by:
getApplicationsExcludeNodeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getApplications
Description copied from interface:RoleTypeGet the local value of the Applications Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getApplicationsin interfaceRoleType- Returns:
- the local value of the Applications Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Applications Node.
-
setApplications
Description copied from interface:RoleTypeSet the local value of the Applications Node.The value is only updated locally; it is not written to the server.
- Specified by:
setApplicationsin interfaceRoleType- Parameters:
value- the local value to set for the Applications Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Applications Node.
-
readApplications
Description copied from interface:RoleTypeRead the value of the Applications Node from the server and update the local value if the operation succeeds.- Specified by:
readApplicationsin interfaceRoleType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeApplications
Description copied from interface:RoleTypeWrite a new value for the Applications Node to the server and update the local value if the operation succeeds.- Specified by:
writeApplicationsin interfaceRoleType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readApplicationsAsync
Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.readApplications().- Specified by:
readApplicationsAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeApplicationsAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeApplicationsAsync(String[] applications) Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.writeApplications(java.lang.String[]).- Specified by:
writeApplicationsAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getApplicationsNode
Description copied from interface:RoleTypeGet the ApplicationsPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getApplicationsNodein interfaceRoleType- Returns:
- the Applications
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getApplicationsNodeAsync
Description copied from interface:RoleTypeAsynchronous implementation ofRoleType.getApplicationsNode().- Specified by:
getApplicationsNodeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getEndpointsExclude
Description copied from interface:RoleTypeGet the local value of the EndpointsExclude Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getEndpointsExcludein interfaceRoleType- Returns:
- the local value of the EndpointsExclude Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the EndpointsExclude Node.
-
setEndpointsExclude
Description copied from interface:RoleTypeSet the local value of the EndpointsExclude Node.The value is only updated locally; it is not written to the server.
- Specified by:
setEndpointsExcludein interfaceRoleType- Parameters:
value- the local value to set for the EndpointsExclude Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the EndpointsExclude Node.
-
readEndpointsExclude
Description copied from interface:RoleTypeRead the value of the EndpointsExclude Node from the server and update the local value if the operation succeeds.- Specified by:
readEndpointsExcludein interfaceRoleType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeEndpointsExclude
public void writeEndpointsExclude(Boolean value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeWrite a new value for the EndpointsExclude Node to the server and update the local value if the operation succeeds.- Specified by:
writeEndpointsExcludein interfaceRoleType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readEndpointsExcludeAsync
Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.readEndpointsExclude().- Specified by:
readEndpointsExcludeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeEndpointsExcludeAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEndpointsExcludeAsync(Boolean endpointsExclude) Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.writeEndpointsExclude(java.lang.Boolean).- Specified by:
writeEndpointsExcludeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getEndpointsExcludeNode
public PropertyTypeNode getEndpointsExcludeNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:RoleTypeGet the EndpointsExcludePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getEndpointsExcludeNodein interfaceRoleType- Returns:
- the EndpointsExclude
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getEndpointsExcludeNodeAsync
Description copied from interface:RoleTypeAsynchronous implementation ofRoleType.getEndpointsExcludeNode().- Specified by:
getEndpointsExcludeNodeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getEndpoints
public org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[] getEndpoints() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:RoleTypeGet the local value of the Endpoints Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getEndpointsin interfaceRoleType- Returns:
- the local value of the Endpoints Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Endpoints Node.
-
setEndpoints
public void setEndpoints(org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeSet the local value of the Endpoints Node.The value is only updated locally; it is not written to the server.
- Specified by:
setEndpointsin interfaceRoleType- Parameters:
value- the local value to set for the Endpoints Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Endpoints Node.
-
readEndpoints
public org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[] readEndpoints() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:RoleTypeRead the value of the Endpoints Node from the server and update the local value if the operation succeeds.- Specified by:
readEndpointsin interfaceRoleType- Returns:
- the
EndpointTypevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeEndpoints
public void writeEndpoints(org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeWrite a new value for the Endpoints Node to the server and update the local value if the operation succeeds.- Specified by:
writeEndpointsin interfaceRoleType- Parameters:
value- theEndpointTypevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readEndpointsAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[]> readEndpointsAsync()Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.readEndpoints().- Specified by:
readEndpointsAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeEndpointsAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEndpointsAsync(org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[] endpoints) Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.writeEndpoints(org.eclipse.milo.opcua.stack.core.types.structured.EndpointType[]).- Specified by:
writeEndpointsAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getEndpointsNode
Description copied from interface:RoleTypeGet the EndpointsPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getEndpointsNodein interfaceRoleType- Returns:
- the Endpoints
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getEndpointsNodeAsync
Description copied from interface:RoleTypeAsynchronous implementation ofRoleType.getEndpointsNode().- Specified by:
getEndpointsNodeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getCustomConfiguration
Description copied from interface:RoleTypeGet the local value of the CustomConfiguration Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getCustomConfigurationin interfaceRoleType- Returns:
- the local value of the CustomConfiguration Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CustomConfiguration Node.
-
setCustomConfiguration
public void setCustomConfiguration(Boolean value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeSet the local value of the CustomConfiguration Node.The value is only updated locally; it is not written to the server.
- Specified by:
setCustomConfigurationin interfaceRoleType- Parameters:
value- the local value to set for the CustomConfiguration Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the CustomConfiguration Node.
-
readCustomConfiguration
Description copied from interface:RoleTypeRead the value of the CustomConfiguration Node from the server and update the local value if the operation succeeds.- Specified by:
readCustomConfigurationin interfaceRoleType- Returns:
- the
Booleanvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeCustomConfiguration
public void writeCustomConfiguration(Boolean value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:RoleTypeWrite a new value for the CustomConfiguration Node to the server and update the local value if the operation succeeds.- Specified by:
writeCustomConfigurationin interfaceRoleType- Parameters:
value- theBooleanvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readCustomConfigurationAsync
Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.readCustomConfiguration().- Specified by:
readCustomConfigurationAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeCustomConfigurationAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeCustomConfigurationAsync(Boolean customConfiguration) Description copied from interface:RoleTypeAn asynchronous implementation ofRoleType.writeCustomConfiguration(java.lang.Boolean).- Specified by:
writeCustomConfigurationAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getCustomConfigurationNode
public PropertyTypeNode getCustomConfigurationNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:RoleTypeGet the CustomConfigurationPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getCustomConfigurationNodein interfaceRoleType- Returns:
- the CustomConfiguration
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getCustomConfigurationNodeAsync
Description copied from interface:RoleTypeAsynchronous implementation ofRoleType.getCustomConfigurationNode().- Specified by:
getCustomConfigurationNodeAsyncin interfaceRoleType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-