Class UaViewNode
- java.lang.Object
-
- com.plccom.opc.ua.client.application.model.nodes.UaNode
-
- com.plccom.opc.ua.client.application.model.nodes.UaViewNode
-
public class UaViewNode extends UaNode
PLCcom sdk UaViewNode Implementation for Opc Ua, with the UaViewNode object you can read or write Attributes or values from cache or directly from connected ua server- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description UaViewNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)Standard constructor for a UaViewNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetContainsNoLoops()Returns the attribute ContainsNoLoops from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.UnsignedBytegetEventNotifier()Returns the attribute EventNotifier from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.DataValuereadContainsNoLoops()Reads the complete datavalue of attribute ContainsNoLoops this node from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.DataValuereadEventNotifier()Reads the complete datavalue of attribute EventNotifier this node from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetContainsNoLoops(boolean containsNoLoops)Sets the attribute containsNoLoops of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetEventNotifier(com.plccom.opc.ua.builtintypes.UnsignedByte eventNotifier)Sets the attribute eventNotifier of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodewriteContainsNoLoops(com.plccom.opc.ua.builtintypes.DataValue value)Writes the ContainsNoLoops attributecom.plccom.opc.ua.builtintypes.StatusCodewriteEventNotifier(com.plccom.opc.ua.builtintypes.DataValue value)Writes the EventNotifier attribute-
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
-
UaViewNode
public UaViewNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
Standard constructor for a UaViewNode instances- Parameters:
client- a client instancenodeId- the based nodeId
-
-
Method Detail
-
getContainsNoLoops
public Boolean getContainsNoLoops() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute ContainsNoLoops from cache or directly from connected ua server- Returns:
- the ContainsNoLoops attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getEventNotifier
public com.plccom.opc.ua.builtintypes.UnsignedByte getEventNotifier() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute EventNotifier from cache or directly from connected ua server- Returns:
- the EventNotifier attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setContainsNoLoops
public com.plccom.opc.ua.builtintypes.StatusCode setContainsNoLoops(boolean containsNoLoops) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute containsNoLoops of this node at connected ua server and refreshing the nodecache- Parameters:
containsNoLoops- the containsNoLoops attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
setEventNotifier
public com.plccom.opc.ua.builtintypes.StatusCode setEventNotifier(com.plccom.opc.ua.builtintypes.UnsignedByte eventNotifier) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute eventNotifier of this node at connected ua server and refreshing the nodecache- Parameters:
eventNotifier- the eventNotifier attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
readContainsNoLoops
public com.plccom.opc.ua.builtintypes.DataValue readContainsNoLoops() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReads the complete datavalue of attribute ContainsNoLoops this node from cache or directly from connected ua server- Returns:
- a datavalue object with the attribute ContainsNoLoops
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
readEventNotifier
public com.plccom.opc.ua.builtintypes.DataValue readEventNotifier() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReads the complete datavalue of attribute EventNotifier this node from cache or directly from connected ua server- Returns:
- a datavalue object with the attribute EventNotifier
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
writeContainsNoLoops
public com.plccom.opc.ua.builtintypes.StatusCode writeContainsNoLoops(com.plccom.opc.ua.builtintypes.DataValue value) throws com.plccom.opc.ua.common.ServiceResultExceptionWrites the ContainsNoLoops attribute- Parameters:
value- a datavalue object with informations to write- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
writeEventNotifier
public com.plccom.opc.ua.builtintypes.StatusCode writeEventNotifier(com.plccom.opc.ua.builtintypes.DataValue value) throws com.plccom.opc.ua.common.ServiceResultExceptionWrites the EventNotifier attribute- Parameters:
value- a datavalue object with informations to write- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-