Interface DatagramConnectionTransportType
- All Superinterfaces:
BaseObjectType,ConnectionTransportType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Implementing Classes:
DatagramConnectionTransportTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.QosDataType[]>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.UInteger>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<String> -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.structured.QosDataType[]Get the local value of the DatagramQos Node.Get the DatagramQosPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetDatagramQosNode().Get the DiscoveryAddressNetworkAddressTypeNode, ornullif it does not exist.CompletableFuture<? extends NetworkAddressType>Asynchronous implementation ofgetDiscoveryAddressNode().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.UIntegerGet the local value of the DiscoveryMaxMessageSize Node.Get the DiscoveryMaxMessageSizePropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetDiscoveryMaxMessageSizeNode().Get the local value of the QosCategory Node.Get the QosCategoryPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetQosCategoryNode().org.eclipse.milo.opcua.stack.core.types.structured.QosDataType[]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.QosDataType[]>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.UIntegerRead the value of the DiscoveryMaxMessageSize 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 ofreadDiscoveryMaxMessageSize().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().voidsetDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.QosDataType[] 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.voidsetDiscoveryMaxMessageSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Set the local value of the DiscoveryMaxMessageSize Node.voidsetQosCategory(String value) Set the local value of the QosCategory Node.voidwriteDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.QosDataType[] 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.QosDataType[] value) An asynchronous implementation ofwriteDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.QosDataType[]).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).voidwriteDiscoveryMaxMessageSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) Write a new value for the DiscoveryMaxMessageSize Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeDiscoveryMaxMessageSizeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) An asynchronous implementation ofwriteDiscoveryMaxMessageSize(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger).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).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
-
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 -
DISCOVERY_MAX_MESSAGE_SIZE
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> DISCOVERY_MAX_MESSAGE_SIZE -
QOS_CATEGORY
-
DATAGRAM_QOS
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.QosDataType[]> DATAGRAM_QOS
-
-
Method Details
-
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.
-
getDiscoveryMaxMessageSize
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger getDiscoveryMaxMessageSize() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the DiscoveryMaxMessageSize Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the DiscoveryMaxMessageSize Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DiscoveryMaxMessageSize Node.
-
setDiscoveryMaxMessageSize
void setDiscoveryMaxMessageSize(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 DiscoveryMaxMessageSize Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the DiscoveryMaxMessageSize Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the DiscoveryMaxMessageSize Node.
-
readDiscoveryMaxMessageSize
org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger readDiscoveryMaxMessageSize() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the DiscoveryMaxMessageSize 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.
-
writeDiscoveryMaxMessageSize
void writeDiscoveryMaxMessageSize(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 DiscoveryMaxMessageSize 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.
-
readDiscoveryMaxMessageSizeAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger> readDiscoveryMaxMessageSizeAsync()An asynchronous implementation ofreadDiscoveryMaxMessageSize().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeDiscoveryMaxMessageSizeAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeDiscoveryMaxMessageSizeAsync(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger value) An asynchronous implementation ofwriteDiscoveryMaxMessageSize(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.
-
getDiscoveryMaxMessageSizeNode
Get the DiscoveryMaxMessageSizePropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the DiscoveryMaxMessageSize
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDiscoveryMaxMessageSizeNodeAsync
CompletableFuture<? extends PropertyType> getDiscoveryMaxMessageSizeNodeAsync()Asynchronous implementation ofgetDiscoveryMaxMessageSizeNode().- 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.QosDataType[] 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.QosDataType[] 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.QosDataType[] 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
QosDataTypevalue 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.QosDataType[] 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- theQosDataTypevalue 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.QosDataType[]> 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.QosDataType[] value) An asynchronous implementation ofwriteDatagramQos(org.eclipse.milo.opcua.stack.core.types.structured.QosDataType[]).- 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.
-
getDiscoveryAddressNode
Get the DiscoveryAddressNetworkAddressTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the DiscoveryAddress
NetworkAddressTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDiscoveryAddressNodeAsync
CompletableFuture<? extends NetworkAddressType> getDiscoveryAddressNodeAsync()Asynchronous implementation ofgetDiscoveryAddressNode().- Returns:
- a CompletableFuture that completes successfully with the NetworkAddressType Node or completes exceptionally if an error occurs creating or getting the Node.
-