Class ServerRedundancyNode
- java.lang.Object
-
- com.plccom.opc.ua.client.application.model.nodes.UaNode
-
- com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.BaseObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.ServerRedundancyNode
-
- Direct Known Subclasses:
NonTransparentRedundancyNode,TransparentRedundancyNode
public class ServerRedundancyNode extends BaseObjectNode
PLCcom sdk ServerRedundancyNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description ServerRedundancyNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for ServerRedundancyNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.core.RedundancySupportgetRedundancySupport()Returns the attribute REDUNDANCY_SUPPORT from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetRedundancySupport(com.plccom.opc.ua.core.RedundancySupport value)Sets the attribute REDUNDANCY_SUPPORT of this node at connected ua server and refreshing the nodecache-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
browseObjectType, browseVariable, getEventNotifier, readEventNotifier, setEventNotifier, writeEventNotifier
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaNode
getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, readBrowseName, readDescription, readDisplayName, readNodeClass, readNodeId, readUserWriteMask, readWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMask, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeUserWriteMask, writeWriteMask
-
-
-
-
Constructor Detail
-
ServerRedundancyNode
public ServerRedundancyNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for ServerRedundancyNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getRedundancySupport
public com.plccom.opc.ua.core.RedundancySupport getRedundancySupport() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute REDUNDANCY_SUPPORT from cache or directly from connected ua server- Returns:
- the REDUNDANCY_SUPPORT attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setRedundancySupport
public com.plccom.opc.ua.builtintypes.StatusCode setRedundancySupport(com.plccom.opc.ua.core.RedundancySupport value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute REDUNDANCY_SUPPORT of this node at connected ua server and refreshing the nodecache- Parameters:
value- the REDUNDANCY_SUPPORT attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-