Class ProgressEventNode
- 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.BaseEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.ProgressEventNode
-
public class ProgressEventNode extends BaseEventNode
PLCcom sdk ProgressEventNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description ProgressEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for ProgressEventNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetContext()Returns the attribute CONTEXT from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.UnsignedShortgetProgress()Returns the attribute PROGRESS from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetContext(Object value)Sets the attribute CONTEXT of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetProgress(com.plccom.opc.ua.builtintypes.UnsignedShort value)Sets the attribute PROGRESS of this node at connected ua server and refreshing the nodecache-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.BaseEventNode
getEventId, getEventType, getLocalTime, getMessage, getReceiveTime, getSeverity, getSourceName, getSourceNode, getTime, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime
-
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
-
ProgressEventNode
public ProgressEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for ProgressEventNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getContext
public Object getContext() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute CONTEXT from cache or directly from connected ua server- Returns:
- the CONTEXT attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setContext
public com.plccom.opc.ua.builtintypes.StatusCode setContext(Object value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute CONTEXT of this node at connected ua server and refreshing the nodecache- Parameters:
value- the CONTEXT attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getProgress
public com.plccom.opc.ua.builtintypes.UnsignedShort getProgress() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute PROGRESS from cache or directly from connected ua server- Returns:
- the PROGRESS attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setProgress
public com.plccom.opc.ua.builtintypes.StatusCode setProgress(com.plccom.opc.ua.builtintypes.UnsignedShort value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute PROGRESS of this node at connected ua server and refreshing the nodecache- Parameters:
value- the PROGRESS attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-