Class TransparentRedundancyNode
- 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
-
- com.plccom.opc.ua.client.application.model.nodes.objects.TransparentRedundancyNode
-
public class TransparentRedundancyNode extends ServerRedundancyNode
PLCcom sdk TransparentRedundancyNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description TransparentRedundancyNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for TransparentRedundancyNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentServerId()Returns the attribute CURRENT_SERVER_ID from cache or directly from connected ua servercom.plccom.opc.ua.core.RedundantServerDataType[]getRedundantServerArray()Returns the attribute REDUNDANT_SERVER_ARRAY from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetCurrentServerId(String value)Sets the attribute CURRENT_SERVER_ID of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetRedundantServerArray(com.plccom.opc.ua.core.RedundantServerDataType[] value)Sets the attribute REDUNDANT_SERVER_ARRAY of this node at connected ua server and refreshing the nodecache-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.ServerRedundancyNode
getRedundancySupport, setRedundancySupport
-
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
-
TransparentRedundancyNode
public TransparentRedundancyNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for TransparentRedundancyNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getCurrentServerId
public String getCurrentServerId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute CURRENT_SERVER_ID from cache or directly from connected ua server- Returns:
- the CURRENT_SERVER_ID attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setCurrentServerId
public com.plccom.opc.ua.builtintypes.StatusCode setCurrentServerId(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute CURRENT_SERVER_ID of this node at connected ua server and refreshing the nodecache- Parameters:
value- the CURRENT_SERVER_ID attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getRedundantServerArray
public com.plccom.opc.ua.core.RedundantServerDataType[] getRedundantServerArray() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute REDUNDANT_SERVER_ARRAY from cache or directly from connected ua server- Returns:
- the REDUNDANT_SERVER_ARRAY attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setRedundantServerArray
public com.plccom.opc.ua.builtintypes.StatusCode setRedundantServerArray(com.plccom.opc.ua.core.RedundantServerDataType[] value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute REDUNDANT_SERVER_ARRAY of this node at connected ua server and refreshing the nodecache- Parameters:
value- the REDUNDANT_SERVER_ARRAY attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-