Class ServerDiagnosticsNode
- 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.ServerDiagnosticsNode
-
public class ServerDiagnosticsNode extends BaseObjectNode
PLCcom sdk ServerDiagnosticsNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description ServerDiagnosticsNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for ServerDiagnosticsNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetEnabledFlag()Returns the attribute ENABLED_FLAG from cache or directly from connected ua servercom.plccom.opc.ua.core.SamplingIntervalDiagnosticsDataType[]getSamplingIntervalDiagnosticsArray()Returns the SamplingIntervalDiagnosticsArray connected ua servercom.plccom.opc.ua.core.ServerDiagnosticsSummaryDataTypegetServerDiagnosticsSummary()Returns the ServerDiagnosticsSummary from connected ua servercom.plccom.opc.ua.core.SubscriptionDiagnosticsDataType[]getSubscriptionDiagnosticsArray()Returns the SubscriptionDiagnosticsArray from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetEnabledFlag(Boolean value)Sets the attribute ENABLED_FLAG of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetSamplingIntervalDiagnosticsArray(com.plccom.opc.ua.core.SamplingIntervalDiagnosticsDataType[] value)Sets the SamplingIntervalDiagnosticsArray at connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetServerDiagnosticsSummary(com.plccom.opc.ua.core.ServerDiagnosticsSummaryDataType value)Sets the ServerDiagnosticsSummary at connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetSubscriptionDiagnosticsArray(com.plccom.opc.ua.core.SubscriptionDiagnosticsDataType[] value)Sets the SubscriptionDiagnosticsArray at connected ua server-
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
-
ServerDiagnosticsNode
public ServerDiagnosticsNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for ServerDiagnosticsNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getEnabledFlag
public Boolean getEnabledFlag() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute ENABLED_FLAG from cache or directly from connected ua server- Returns:
- the ENABLED_FLAG attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setEnabledFlag
public com.plccom.opc.ua.builtintypes.StatusCode setEnabledFlag(Boolean value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute ENABLED_FLAG of this node at connected ua server and refreshing the nodecache- Parameters:
value- the ENABLED_FLAG attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getServerDiagnosticsSummary
public com.plccom.opc.ua.core.ServerDiagnosticsSummaryDataType getServerDiagnosticsSummary() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the ServerDiagnosticsSummary from connected ua server- Returns:
- the ServerDiagnosticsSummary
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setServerDiagnosticsSummary
public com.plccom.opc.ua.builtintypes.StatusCode setServerDiagnosticsSummary(com.plccom.opc.ua.core.ServerDiagnosticsSummaryDataType value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the ServerDiagnosticsSummary at connected ua server- Parameters:
value- the ServerDiagnosticsSummary- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getSamplingIntervalDiagnosticsArray
public com.plccom.opc.ua.core.SamplingIntervalDiagnosticsDataType[] getSamplingIntervalDiagnosticsArray() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the SamplingIntervalDiagnosticsArray connected ua server- Returns:
- the SamplingIntervalDiagnosticsArray
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSamplingIntervalDiagnosticsArray
public com.plccom.opc.ua.builtintypes.StatusCode setSamplingIntervalDiagnosticsArray(com.plccom.opc.ua.core.SamplingIntervalDiagnosticsDataType[] value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the SamplingIntervalDiagnosticsArray at connected ua server- Parameters:
value- the SamplingIntervalDiagnosticsArray- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getSubscriptionDiagnosticsArray
public com.plccom.opc.ua.core.SubscriptionDiagnosticsDataType[] getSubscriptionDiagnosticsArray() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the SubscriptionDiagnosticsArray from connected ua server- Returns:
- the SubscriptionDiagnosticsArray
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSubscriptionDiagnosticsArray
public com.plccom.opc.ua.builtintypes.StatusCode setSubscriptionDiagnosticsArray(com.plccom.opc.ua.core.SubscriptionDiagnosticsDataType[] value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the SubscriptionDiagnosticsArray at connected ua server- Parameters:
value- the SubscriptionDiagnosticsArray- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
-