Search in sources :

Example 1 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class ServerConfigurationTypeNode method setServerCapabilities.

@Override
public void setServerCapabilities(String[] serverCapabilities) throws UaException {
    PropertyTypeNode node = getServerCapabilitiesNode();
    node.setValue(new Variant(serverCapabilities));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Example 2 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class ServerRedundancyTypeNode method setRedundancySupport.

@Override
public void setRedundancySupport(RedundancySupport redundancySupport) throws UaException {
    PropertyTypeNode node = getRedundancySupportNode();
    node.setValue(new Variant(redundancySupport));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Example 3 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class ServerDiagnosticsTypeNode method setEnabledFlag.

@Override
public void setEnabledFlag(Boolean enabledFlag) throws UaException {
    PropertyTypeNode node = getEnabledFlagNode();
    node.setValue(new Variant(enabledFlag));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Example 4 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class ServerCapabilitiesTypeNode method setSoftwareCertificates.

@Override
public void setSoftwareCertificates(SignedSoftwareCertificate[] softwareCertificates) throws UaException {
    PropertyTypeNode node = getSoftwareCertificatesNode();
    ExtensionObject[] encoded = ExtensionObject.encodeArray(client.getStaticSerializationContext(), softwareCertificates);
    node.setValue(new Variant(encoded));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) ExtensionObject(org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Example 5 with PropertyTypeNode

use of org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode in project milo by eclipse.

the class NonTransparentNetworkRedundancyTypeNode method setServerNetworkGroups.

@Override
public void setServerNetworkGroups(NetworkGroupDataType[] serverNetworkGroups) throws UaException {
    PropertyTypeNode node = getServerNetworkGroupsNode();
    ExtensionObject[] encoded = ExtensionObject.encodeArray(client.getStaticSerializationContext(), serverNetworkGroups);
    node.setValue(new Variant(encoded));
}
Also used : Variant(org.eclipse.milo.opcua.stack.core.types.builtin.Variant) ExtensionObject(org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject) PropertyTypeNode(org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)

Aggregations

PropertyTypeNode (org.eclipse.milo.opcua.sdk.client.model.nodes.variables.PropertyTypeNode)206 Variant (org.eclipse.milo.opcua.stack.core.types.builtin.Variant)197 ExtensionObject (org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject)18 UInteger (org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger)10 PerformUpdateType (org.eclipse.milo.opcua.stack.core.types.enumerated.PerformUpdateType)2 Lists.newArrayList (com.google.common.collect.Lists.newArrayList)1 Array (java.lang.reflect.Array)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 ArrayList (java.util.ArrayList)1 Arrays (java.util.Arrays)1 Iterator (java.util.Iterator)1 List (java.util.List)1 Optional (java.util.Optional)1 Set (java.util.Set)1 CompletableFuture (java.util.concurrent.CompletableFuture)1 CompletableFuture.completedFuture (java.util.concurrent.CompletableFuture.completedFuture)1 ExecutionException (java.util.concurrent.ExecutionException)1 Consumer (java.util.function.Consumer)1 Collectors (java.util.stream.Collectors)1 AddressSpace (org.eclipse.milo.opcua.sdk.client.AddressSpace)1