Class IetfBaseNetworkInterfaceTypeNode
- All Implemented Interfaces:
BaseObjectType,IetfBaseNetworkInterfaceType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionIetfBaseNetworkInterfaceTypeNode(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.enumerated.InterfaceAdminStatusGet the local value of the AdminStatus Node.Get the AdminStatusBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofIetfBaseNetworkInterfaceType.getAdminStatusNode().org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatusGet the local value of the OperStatus Node.Get the OperStatusBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofIetfBaseNetworkInterfaceType.getOperStatusNode().Get the local value of the PhysAddress Node.Get the PhysAddressBaseDataVariableTypeNode, ornullif it does not exist.CompletableFuture<? extends BaseDataVariableTypeNode>Asynchronous implementation ofIetfBaseNetworkInterfaceType.getPhysAddressNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULonggetSpeed()Get the local value of the Speed Node.Get the SpeedAnalogUnitTypeNode, ornullif it does not exist.CompletableFuture<? extends AnalogUnitTypeNode>Asynchronous implementation ofIetfBaseNetworkInterfaceType.getSpeedNode().org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatusRead the value of the AdminStatus Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus>An asynchronous implementation ofIetfBaseNetworkInterfaceType.readAdminStatus().org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatusRead the value of the OperStatus Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus>An asynchronous implementation ofIetfBaseNetworkInterfaceType.readOperStatus().Read the value of the PhysAddress Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofIetfBaseNetworkInterfaceType.readPhysAddress().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULongRead the value of the Speed 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 ofIetfBaseNetworkInterfaceType.readSpeed().voidsetAdminStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus value) Set the local value of the AdminStatus Node.voidsetOperStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus value) Set the local value of the OperStatus Node.voidsetPhysAddress(String value) Set the local value of the PhysAddress Node.voidsetSpeed(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong value) Set the local value of the Speed Node.voidwriteAdminStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus value) Write a new value for the AdminStatus Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeAdminStatusAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus adminStatus) An asynchronous implementation ofIetfBaseNetworkInterfaceType.writeAdminStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus).voidwriteOperStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus value) Write a new value for the OperStatus Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeOperStatusAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus operStatus) An asynchronous implementation ofIetfBaseNetworkInterfaceType.writeOperStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus).voidwritePhysAddress(String value) Write a new value for the PhysAddress Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writePhysAddressAsync(String physAddress) An asynchronous implementation ofIetfBaseNetworkInterfaceType.writePhysAddress(java.lang.String).voidwriteSpeed(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong value) Write a new value for the Speed Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeSpeedAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong speed) An asynchronous implementation ofIetfBaseNetworkInterfaceType.writeSpeed(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong).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
-
IetfBaseNetworkInterfaceTypeNode
public IetfBaseNetworkInterfaceTypeNode(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
-
getAdminStatus
public org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus getAdminStatus() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeGet the local value of the AdminStatus Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getAdminStatusin interfaceIetfBaseNetworkInterfaceType- Returns:
- the local value of the AdminStatus Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the AdminStatus Node.
-
setAdminStatus
public void setAdminStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:IetfBaseNetworkInterfaceTypeSet the local value of the AdminStatus Node.The value is only updated locally; it is not written to the server.
- Specified by:
setAdminStatusin interfaceIetfBaseNetworkInterfaceType- Parameters:
value- the local value to set for the AdminStatus Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the AdminStatus Node.
-
readAdminStatus
public org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus readAdminStatus() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeRead the value of the AdminStatus Node from the server and update the local value if the operation succeeds.- Specified by:
readAdminStatusin interfaceIetfBaseNetworkInterfaceType- Returns:
- the
InterfaceAdminStatusvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeAdminStatus
public void writeAdminStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:IetfBaseNetworkInterfaceTypeWrite a new value for the AdminStatus Node to the server and update the local value if the operation succeeds.- Specified by:
writeAdminStatusin interfaceIetfBaseNetworkInterfaceType- Parameters:
value- theInterfaceAdminStatusvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readAdminStatusAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus> readAdminStatusAsync()Description copied from interface:IetfBaseNetworkInterfaceTypeAn asynchronous implementation ofIetfBaseNetworkInterfaceType.readAdminStatus().- Specified by:
readAdminStatusAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeAdminStatusAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAdminStatusAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus adminStatus) Description copied from interface:IetfBaseNetworkInterfaceTypeAn asynchronous implementation ofIetfBaseNetworkInterfaceType.writeAdminStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceAdminStatus).- Specified by:
writeAdminStatusAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getAdminStatusNode
public BaseDataVariableTypeNode getAdminStatusNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeGet the AdminStatusBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getAdminStatusNodein interfaceIetfBaseNetworkInterfaceType- Returns:
- the AdminStatus
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getAdminStatusNodeAsync
Description copied from interface:IetfBaseNetworkInterfaceTypeAsynchronous implementation ofIetfBaseNetworkInterfaceType.getAdminStatusNode().- Specified by:
getAdminStatusNodeAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getOperStatus
public org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus getOperStatus() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeGet the local value of the OperStatus Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getOperStatusin interfaceIetfBaseNetworkInterfaceType- Returns:
- the local value of the OperStatus Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the OperStatus Node.
-
setOperStatus
public void setOperStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:IetfBaseNetworkInterfaceTypeSet the local value of the OperStatus Node.The value is only updated locally; it is not written to the server.
- Specified by:
setOperStatusin interfaceIetfBaseNetworkInterfaceType- Parameters:
value- the local value to set for the OperStatus Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the OperStatus Node.
-
readOperStatus
public org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus readOperStatus() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeRead the value of the OperStatus Node from the server and update the local value if the operation succeeds.- Specified by:
readOperStatusin interfaceIetfBaseNetworkInterfaceType- Returns:
- the
InterfaceOperStatusvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeOperStatus
public void writeOperStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:IetfBaseNetworkInterfaceTypeWrite a new value for the OperStatus Node to the server and update the local value if the operation succeeds.- Specified by:
writeOperStatusin interfaceIetfBaseNetworkInterfaceType- Parameters:
value- theInterfaceOperStatusvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readOperStatusAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus> readOperStatusAsync()Description copied from interface:IetfBaseNetworkInterfaceTypeAn asynchronous implementation ofIetfBaseNetworkInterfaceType.readOperStatus().- Specified by:
readOperStatusAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeOperStatusAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeOperStatusAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus operStatus) Description copied from interface:IetfBaseNetworkInterfaceTypeAn asynchronous implementation ofIetfBaseNetworkInterfaceType.writeOperStatus(org.eclipse.milo.opcua.stack.core.types.enumerated.InterfaceOperStatus).- Specified by:
writeOperStatusAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getOperStatusNode
public BaseDataVariableTypeNode getOperStatusNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeGet the OperStatusBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getOperStatusNodein interfaceIetfBaseNetworkInterfaceType- Returns:
- the OperStatus
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getOperStatusNodeAsync
Description copied from interface:IetfBaseNetworkInterfaceTypeAsynchronous implementation ofIetfBaseNetworkInterfaceType.getOperStatusNode().- Specified by:
getOperStatusNodeAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getPhysAddress
Description copied from interface:IetfBaseNetworkInterfaceTypeGet the local value of the PhysAddress Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getPhysAddressin interfaceIetfBaseNetworkInterfaceType- Returns:
- the local value of the PhysAddress Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PhysAddress Node.
-
setPhysAddress
Description copied from interface:IetfBaseNetworkInterfaceTypeSet the local value of the PhysAddress Node.The value is only updated locally; it is not written to the server.
- Specified by:
setPhysAddressin interfaceIetfBaseNetworkInterfaceType- Parameters:
value- the local value to set for the PhysAddress Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PhysAddress Node.
-
readPhysAddress
Description copied from interface:IetfBaseNetworkInterfaceTypeRead the value of the PhysAddress Node from the server and update the local value if the operation succeeds.- Specified by:
readPhysAddressin interfaceIetfBaseNetworkInterfaceType- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writePhysAddress
Description copied from interface:IetfBaseNetworkInterfaceTypeWrite a new value for the PhysAddress Node to the server and update the local value if the operation succeeds.- Specified by:
writePhysAddressin interfaceIetfBaseNetworkInterfaceType- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readPhysAddressAsync
Description copied from interface:IetfBaseNetworkInterfaceTypeAn asynchronous implementation ofIetfBaseNetworkInterfaceType.readPhysAddress().- Specified by:
readPhysAddressAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writePhysAddressAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writePhysAddressAsync(String physAddress) Description copied from interface:IetfBaseNetworkInterfaceTypeAn asynchronous implementation ofIetfBaseNetworkInterfaceType.writePhysAddress(java.lang.String).- Specified by:
writePhysAddressAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getPhysAddressNode
public BaseDataVariableTypeNode getPhysAddressNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeGet the PhysAddressBaseDataVariableTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getPhysAddressNodein interfaceIetfBaseNetworkInterfaceType- Returns:
- the PhysAddress
BaseDataVariableTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getPhysAddressNodeAsync
Description copied from interface:IetfBaseNetworkInterfaceTypeAsynchronous implementation ofIetfBaseNetworkInterfaceType.getPhysAddressNode().- Specified by:
getPhysAddressNodeAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the BaseDataVariableType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getSpeed
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong getSpeed() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeGet the local value of the Speed Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getSpeedin interfaceIetfBaseNetworkInterfaceType- Returns:
- the local value of the Speed Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Speed Node.
-
setSpeed
public void setSpeed(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:IetfBaseNetworkInterfaceTypeSet the local value of the Speed Node.The value is only updated locally; it is not written to the server.
- Specified by:
setSpeedin interfaceIetfBaseNetworkInterfaceType- Parameters:
value- the local value to set for the Speed Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Speed Node.
-
readSpeed
public org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong readSpeed() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:IetfBaseNetworkInterfaceTypeRead the value of the Speed Node from the server and update the local value if the operation succeeds.- Specified by:
readSpeedin interfaceIetfBaseNetworkInterfaceType- Returns:
- the
ULongvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeSpeed
public void writeSpeed(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:IetfBaseNetworkInterfaceTypeWrite a new value for the Speed Node to the server and update the local value if the operation succeeds.- Specified by:
writeSpeedin interfaceIetfBaseNetworkInterfaceType- Parameters:
value- theULongvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readSpeedAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong> readSpeedAsync()Description copied from interface:IetfBaseNetworkInterfaceTypeAn asynchronous implementation ofIetfBaseNetworkInterfaceType.readSpeed().- Specified by:
readSpeedAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeSpeedAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeSpeedAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong speed) Description copied from interface:IetfBaseNetworkInterfaceTypeAn asynchronous implementation ofIetfBaseNetworkInterfaceType.writeSpeed(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.ULong).- Specified by:
writeSpeedAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getSpeedNode
Description copied from interface:IetfBaseNetworkInterfaceTypeGet the SpeedAnalogUnitTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getSpeedNodein interfaceIetfBaseNetworkInterfaceType- Returns:
- the Speed
AnalogUnitTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getSpeedNodeAsync
Description copied from interface:IetfBaseNetworkInterfaceTypeAsynchronous implementation ofIetfBaseNetworkInterfaceType.getSpeedNode().- Specified by:
getSpeedNodeAsyncin interfaceIetfBaseNetworkInterfaceType- Returns:
- a CompletableFuture that completes successfully with the AnalogUnitType Node or completes exceptionally if an error occurs creating or getting the Node.
-