Interface DatagramWriterGroupTransportType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode,WriterGroupTransportType
- All Known Implementing Classes:
DatagramWriterGroupTransportTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[]>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<Double>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String> -
Method Summary
Modifier and TypeMethodDescriptionGet the AddressNetworkAddressTypeNode, ornullif it does not exist.CompletableFuture<? extends NetworkAddressType>Asynchronous implementation ofgetAddressNode().org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[]Get the local value of the DatagramQos Node.Get the DatagramQosPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetDatagramQosNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerGet the local value of the DiscoveryAnnounceRate Node.Get the DiscoveryAnnounceRatePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetDiscoveryAnnounceRateNode().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByteGet the local value of the MessageRepeatCount Node.Get the MessageRepeatCountPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetMessageRepeatCountNode().Get the local value of the MessageRepeatDelay Node.Get the MessageRepeatDelayPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetMessageRepeatDelayNode().Get the local value of the QosCategory Node.Get the QosCategoryPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetQosCategoryNode().getTopic()Get the local value of the Topic Node.Get the TopicPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetTopicNode().org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[]Read the value of the DatagramQos Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[]>An asynchronous implementation ofreadDatagramQos().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UIntegerRead the value of the DiscoveryAnnounceRate 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 ofreadDiscoveryAnnounceRate().org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByteRead the value of the MessageRepeatCount Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte>An asynchronous implementation ofreadMessageRepeatCount().Read the value of the MessageRepeatDelay Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends Double>An asynchronous implementation ofreadMessageRepeatDelay().Read the value of the QosCategory Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadQosCategory().Read the value of the Topic Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadTopic().voidsetDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[] value) Set the local value of the DatagramQos Node.voidsetDiscoveryAnnounceRate(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Set the local value of the DiscoveryAnnounceRate Node.voidsetMessageRepeatCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) Set the local value of the MessageRepeatCount Node.voidsetMessageRepeatDelay(Double value) Set the local value of the MessageRepeatDelay Node.voidsetQosCategory(String value) Set the local value of the QosCategory Node.voidSet the local value of the Topic Node.voidwriteDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[] value) Write a new value for the DatagramQos Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDatagramQosAsync(org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[] value) An asynchronous implementation ofwriteDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[]).voidwriteDiscoveryAnnounceRate(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Write a new value for the DiscoveryAnnounceRate Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDiscoveryAnnounceRateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) An asynchronous implementation ofwriteDiscoveryAnnounceRate(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).voidwriteMessageRepeatCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) Write a new value for the MessageRepeatCount Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeMessageRepeatCountAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) An asynchronous implementation ofwriteMessageRepeatCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte).voidwriteMessageRepeatDelay(Double value) Write a new value for the MessageRepeatDelay Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>An asynchronous implementation ofwriteMessageRepeatDelay(java.lang.Double).voidwriteQosCategory(String value) Write a new value for the QosCategory Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeQosCategoryAsync(String value) An asynchronous implementation ofwriteQosCategory(java.lang.String).voidwriteTopic(String value) Write a new value for the Topic Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeTopicAsync(String value) An asynchronous implementation ofwriteTopic(java.lang.String).Methods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMaskMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
getEventNotifier, setEventNotifier
-
Field Details
-
MESSAGE_REPEAT_COUNT
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte> MESSAGE_REPEAT_COUNT -
MESSAGE_REPEAT_DELAY
-
QOS_CATEGORY
-
DATAGRAM_QOS
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[]> DATAGRAM_QOS -
DISCOVERY_ANNOUNCE_RATE
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> DISCOVERY_ANNOUNCE_RATE -
TOPIC
-
-
Method Details
-
getMessageRepeatCount
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte getMessageRepeatCount() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the MessageRepeatCount Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the MessageRepeatCount Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MessageRepeatCount Node.
-
setMessageRepeatCount
void setMessageRepeatCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the MessageRepeatCount Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the MessageRepeatCount Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MessageRepeatCount Node.
-
readMessageRepeatCount
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte readMessageRepeatCount() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the MessageRepeatCount Node from the server and update the local value if the operation succeeds.- Returns:
- the
UBytevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeMessageRepeatCount
void writeMessageRepeatCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the MessageRepeatCount Node to the server and update the local value if the operation succeeds.- Parameters:
value- theUBytevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readMessageRepeatCountAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte> readMessageRepeatCountAsync()An asynchronous implementation ofreadMessageRepeatCount().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeMessageRepeatCountAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeMessageRepeatCountAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte value) An asynchronous implementation ofwriteMessageRepeatCount(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getMessageRepeatCountNode
Get the MessageRepeatCountPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the MessageRepeatCount
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getMessageRepeatCountNodeAsync
CompletableFuture<? extends PropertyType> getMessageRepeatCountNodeAsync()Asynchronous implementation ofgetMessageRepeatCountNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getMessageRepeatDelay
Get the local value of the MessageRepeatDelay Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the MessageRepeatDelay Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MessageRepeatDelay Node.
-
setMessageRepeatDelay
Set the local value of the MessageRepeatDelay Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the MessageRepeatDelay Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the MessageRepeatDelay Node.
-
readMessageRepeatDelay
Read the value of the MessageRepeatDelay Node from the server and update the local value if the operation succeeds.- Returns:
- the
Doublevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeMessageRepeatDelay
Write a new value for the MessageRepeatDelay Node to the server and update the local value if the operation succeeds.- Parameters:
value- theDoublevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readMessageRepeatDelayAsync
CompletableFuture<? extends Double> readMessageRepeatDelayAsync()An asynchronous implementation ofreadMessageRepeatDelay().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeMessageRepeatDelayAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeMessageRepeatDelayAsync(Double value) An asynchronous implementation ofwriteMessageRepeatDelay(java.lang.Double).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getMessageRepeatDelayNode
Get the MessageRepeatDelayPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the MessageRepeatDelay
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getMessageRepeatDelayNodeAsync
CompletableFuture<? extends PropertyType> getMessageRepeatDelayNodeAsync()Asynchronous implementation ofgetMessageRepeatDelayNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getQosCategory
Get the local value of the QosCategory Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the QosCategory Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the QosCategory Node.
-
setQosCategory
Set the local value of the QosCategory Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the QosCategory Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the QosCategory Node.
-
readQosCategory
Read the value of the QosCategory Node from the server and update the local value if the operation succeeds.- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeQosCategory
Write a new value for the QosCategory Node to the server and update the local value if the operation succeeds.- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readQosCategoryAsync
CompletableFuture<? extends String> readQosCategoryAsync()An asynchronous implementation ofreadQosCategory().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeQosCategoryAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeQosCategoryAsync(String value) An asynchronous implementation ofwriteQosCategory(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getQosCategoryNode
Get the QosCategoryPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the QosCategory
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getQosCategoryNodeAsync
CompletableFuture<? extends PropertyType> getQosCategoryNodeAsync()Asynchronous implementation ofgetQosCategoryNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getDatagramQos
org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[] getDatagramQos() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the DatagramQos Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the DatagramQos Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DatagramQos Node.
-
setDatagramQos
void setDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the DatagramQos Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the DatagramQos Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DatagramQos Node.
-
readDatagramQos
org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[] readDatagramQos() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the DatagramQos Node from the server and update the local value if the operation succeeds.- Returns:
- the
TransmitQosDataTypevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDatagramQos
void writeDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the DatagramQos Node to the server and update the local value if the operation succeeds.- Parameters:
value- theTransmitQosDataTypevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDatagramQosAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[]> readDatagramQosAsync()An asynchronous implementation ofreadDatagramQos().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDatagramQosAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDatagramQosAsync(org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[] value) An asynchronous implementation ofwriteDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.TransmitQosDataType[]).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDatagramQosNode
Get the DatagramQosPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the DatagramQos
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDatagramQosNodeAsync
CompletableFuture<? extends PropertyType> getDatagramQosNodeAsync()Asynchronous implementation ofgetDatagramQosNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getDiscoveryAnnounceRate
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getDiscoveryAnnounceRate() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the DiscoveryAnnounceRate Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the DiscoveryAnnounceRate Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DiscoveryAnnounceRate Node.
-
setDiscoveryAnnounceRate
void setDiscoveryAnnounceRate(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the DiscoveryAnnounceRate Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the DiscoveryAnnounceRate Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DiscoveryAnnounceRate Node.
-
readDiscoveryAnnounceRate
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readDiscoveryAnnounceRate() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the DiscoveryAnnounceRate Node from the server and update the local value if the operation succeeds.- Returns:
- the
UIntegervalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeDiscoveryAnnounceRate
void writeDiscoveryAnnounceRate(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the DiscoveryAnnounceRate Node to the server and update the local value if the operation succeeds.- Parameters:
value- theUIntegervalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readDiscoveryAnnounceRateAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readDiscoveryAnnounceRateAsync()An asynchronous implementation ofreadDiscoveryAnnounceRate().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDiscoveryAnnounceRateAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDiscoveryAnnounceRateAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) An asynchronous implementation ofwriteDiscoveryAnnounceRate(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getDiscoveryAnnounceRateNode
Get the DiscoveryAnnounceRatePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the DiscoveryAnnounceRate
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDiscoveryAnnounceRateNodeAsync
CompletableFuture<? extends PropertyType> getDiscoveryAnnounceRateNodeAsync()Asynchronous implementation ofgetDiscoveryAnnounceRateNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getTopic
Get the local value of the Topic Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the Topic Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Topic Node.
-
setTopic
Set the local value of the Topic Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the Topic Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Topic Node.
-
readTopic
Read the value of the Topic Node from the server and update the local value if the operation succeeds.- Returns:
- the
Stringvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeTopic
Write a new value for the Topic Node to the server and update the local value if the operation succeeds.- Parameters:
value- theStringvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readTopicAsync
CompletableFuture<? extends String> readTopicAsync()An asynchronous implementation ofreadTopic().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTopicAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTopicAsync(String value) An asynchronous implementation ofwriteTopic(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTopicNode
Get the TopicPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Topic
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getTopicNodeAsync
CompletableFuture<? extends PropertyType> getTopicNodeAsync()Asynchronous implementation ofgetTopicNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getAddressNode
Get the AddressNetworkAddressTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Address
NetworkAddressTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getAddressNodeAsync
CompletableFuture<? extends NetworkAddressType> getAddressNodeAsync()Asynchronous implementation ofgetAddressNode().- Returns:
- a CompletableFuture that completes successfully with the NetworkAddressType Node or completes exceptionally if an error occurs creating or getting the Node.
-