Interface PubSubConnectionType
- All Superinterfaces:
BaseObjectType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
- All Known Implementing Classes:
PubSubConnectionTypeNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[]>static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<Object> -
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.KeyValuePair[]Get the local value of the ConnectionProperties Node.Get the ConnectionPropertiesPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetConnectionPropertiesNode().Get the DiagnosticsPubSubDiagnosticsConnectionTypeNode, ornullif it does not exist.CompletableFuture<? extends PubSubDiagnosticsConnectionType>Asynchronous implementation ofgetDiagnosticsNode().Get the local value of the PublisherId Node.Get the PublisherIdPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyType>Asynchronous implementation ofgetPublisherIdNode().Get the StatusPubSubStatusTypeNode, ornullif it does not exist.CompletableFuture<? extends PubSubStatusType>Asynchronous implementation ofgetStatusNode().Get the local value of the TransportProfileUri Node.Get the TransportProfileUriSelectionListTypeNode, ornullif it does not exist.CompletableFuture<? extends SelectionListType>Asynchronous implementation ofgetTransportProfileUriNode().Get the TransportSettingsConnectionTransportTypeNode, ornullif it does not exist.CompletableFuture<? extends ConnectionTransportType>Asynchronous implementation ofgetTransportSettingsNode().org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[]Read the value of the ConnectionProperties Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[]>An asynchronous implementation ofreadConnectionProperties().Read the value of the PublisherId Node from the server and update the local value if the operation succeeds.An asynchronous implementation ofreadPublisherId().Read the value of the TransportProfileUri Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends String>An asynchronous implementation ofreadTransportProfileUri().voidsetConnectionProperties(org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[] value) Set the local value of the ConnectionProperties Node.voidsetPublisherId(Object value) Set the local value of the PublisherId Node.voidsetTransportProfileUri(String value) Set the local value of the TransportProfileUri Node.voidwriteConnectionProperties(org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[] value) Write a new value for the ConnectionProperties Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeConnectionPropertiesAsync(org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[] value) An asynchronous implementation ofwriteConnectionProperties(org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[]).voidwritePublisherId(Object value) Write a new value for the PublisherId Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writePublisherIdAsync(Object value) An asynchronous implementation ofwritePublisherId(java.lang.Object).voidwriteTransportProfileUri(String value) Write a new value for the TransportProfileUri 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 ofwriteTransportProfileUri(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
-
PUBLISHER_ID
-
CONNECTION_PROPERTIES
static final org.eclipse.milo.opcua.sdk.core.QualifiedProperty<org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[]> CONNECTION_PROPERTIES
-
-
Method Details
-
getPublisherId
Get the local value of the PublisherId Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the PublisherId Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PublisherId Node.
-
setPublisherId
Set the local value of the PublisherId Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the PublisherId Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PublisherId Node.
-
readPublisherId
Read the value of the PublisherId Node from the server and update the local value if the operation succeeds.- Returns:
- the
Objectvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writePublisherId
Write a new value for the PublisherId Node to the server and update the local value if the operation succeeds.- Parameters:
value- theObjectvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readPublisherIdAsync
CompletableFuture<?> readPublisherIdAsync()An asynchronous implementation ofreadPublisherId().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writePublisherIdAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writePublisherIdAsync(Object value) An asynchronous implementation ofwritePublisherId(java.lang.Object).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getPublisherIdNode
Get the PublisherIdPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the PublisherId
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getPublisherIdNodeAsync
CompletableFuture<? extends PropertyType> getPublisherIdNodeAsync()Asynchronous implementation ofgetPublisherIdNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getConnectionProperties
org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[] getConnectionProperties() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the local value of the ConnectionProperties Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the ConnectionProperties Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ConnectionProperties Node.
-
setConnectionProperties
void setConnectionProperties(org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[] value) throws org.eclipse.milo.opcua.stack.core.UaException Set the local value of the ConnectionProperties Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the ConnectionProperties Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the ConnectionProperties Node.
-
readConnectionProperties
org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[] readConnectionProperties() throws org.eclipse.milo.opcua.stack.core.UaExceptionRead the value of the ConnectionProperties Node from the server and update the local value if the operation succeeds.- Returns:
- the
KeyValuePairvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeConnectionProperties
void writeConnectionProperties(org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[] value) throws org.eclipse.milo.opcua.stack.core.UaException Write a new value for the ConnectionProperties Node to the server and update the local value if the operation succeeds.- Parameters:
value- theKeyValuePairvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readConnectionPropertiesAsync
CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[]> readConnectionPropertiesAsync()An asynchronous implementation ofreadConnectionProperties().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeConnectionPropertiesAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeConnectionPropertiesAsync(org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[] value) An asynchronous implementation ofwriteConnectionProperties(org.eclipse.milo.opcua.stack.core.types.structured.KeyValuePair[]).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getConnectionPropertiesNode
Get the ConnectionPropertiesPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the ConnectionProperties
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getConnectionPropertiesNodeAsync
CompletableFuture<? extends PropertyType> getConnectionPropertiesNodeAsync()Asynchronous implementation ofgetConnectionPropertiesNode().- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getTransportProfileUri
Get the local value of the TransportProfileUri Node.The returned value is the last seen; it is not read live from the server.
- Returns:
- the local value of the TransportProfileUri Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the TransportProfileUri Node.
-
setTransportProfileUri
Set the local value of the TransportProfileUri Node.The value is only updated locally; it is not written to the server.
- Parameters:
value- the local value to set for the TransportProfileUri Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the TransportProfileUri Node.
-
readTransportProfileUri
Read the value of the TransportProfileUri 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.
-
writeTransportProfileUri
Write a new value for the TransportProfileUri 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.
-
readTransportProfileUriAsync
CompletableFuture<? extends String> readTransportProfileUriAsync()An asynchronous implementation ofreadTransportProfileUri().- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeTransportProfileUriAsync
CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTransportProfileUriAsync(String value) An asynchronous implementation ofwriteTransportProfileUri(java.lang.String).- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getTransportProfileUriNode
Get the TransportProfileUriSelectionListTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the TransportProfileUri
SelectionListTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getTransportProfileUriNodeAsync
CompletableFuture<? extends SelectionListType> getTransportProfileUriNodeAsync()Asynchronous implementation ofgetTransportProfileUriNode().- Returns:
- a CompletableFuture that completes successfully with the SelectionListType 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.
-
getTransportSettingsNode
ConnectionTransportType getTransportSettingsNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the TransportSettingsConnectionTransportTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the TransportSettings
ConnectionTransportTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getTransportSettingsNodeAsync
CompletableFuture<? extends ConnectionTransportType> getTransportSettingsNodeAsync()Asynchronous implementation ofgetTransportSettingsNode().- Returns:
- a CompletableFuture that completes successfully with the ConnectionTransportType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getStatusNode
Get the StatusPubSubStatusTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Status
PubSubStatusTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getStatusNodeAsync
CompletableFuture<? extends PubSubStatusType> getStatusNodeAsync()Asynchronous implementation ofgetStatusNode().- Returns:
- a CompletableFuture that completes successfully with the PubSubStatusType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getDiagnosticsNode
PubSubDiagnosticsConnectionType getDiagnosticsNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionGet the DiagnosticsPubSubDiagnosticsConnectionTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Returns:
- the Diagnostics
PubSubDiagnosticsConnectionTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getDiagnosticsNodeAsync
CompletableFuture<? extends PubSubDiagnosticsConnectionType> getDiagnosticsNodeAsync()Asynchronous implementation ofgetDiagnosticsNode().- Returns:
- a CompletableFuture that completes successfully with the PubSubDiagnosticsConnectionType Node or completes exceptionally if an error occurs creating or getting the Node.
-