Class SessionDiagnosticsObjectNode
- 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.SessionDiagnosticsObjectNode
-
public class SessionDiagnosticsObjectNode extends BaseObjectNode
PLCcom sdk SessionDiagnosticsObjectNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description SessionDiagnosticsObjectNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for SessionDiagnosticsObjectNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.core.SessionDiagnosticsDataTypegetSessionDiagnostics()Returns the SessionDiagnosticscom.plccom.opc.ua.core.SessionSecurityDiagnosticsDataTypegetSessionSecurityDiagnostics()Returns the SessionSecurityDiagnosticscom.plccom.opc.ua.core.SubscriptionDiagnosticsDataType[]getSubscriptionDiagnosticsArray()Returns the SubscriptionDiagnosticsArraycom.plccom.opc.ua.builtintypes.StatusCodesetSessionDiagnostics(com.plccom.opc.ua.core.SessionDiagnosticsDataType value)Sets the SessionDiagnosticscom.plccom.opc.ua.builtintypes.StatusCodesetSessionSecurityDiagnostics(com.plccom.opc.ua.core.SessionSecurityDiagnosticsDataType value)Sets the SessionSecurityDiagnosticscom.plccom.opc.ua.builtintypes.StatusCodesetSubscriptionDiagnosticsArray(com.plccom.opc.ua.core.SubscriptionDiagnosticsDataType[] value)Sets the SubscriptionDiagnosticsArray-
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
-
SessionDiagnosticsObjectNode
public SessionDiagnosticsObjectNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for SessionDiagnosticsObjectNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getSessionDiagnostics
public com.plccom.opc.ua.core.SessionDiagnosticsDataType getSessionDiagnostics() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the SessionDiagnostics- Returns:
- the SessionDiagnostics
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSessionDiagnostics
public com.plccom.opc.ua.builtintypes.StatusCode setSessionDiagnostics(com.plccom.opc.ua.core.SessionDiagnosticsDataType value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the SessionDiagnostics- Parameters:
value- the new SessionDiagnostics- 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
-
getSessionSecurityDiagnostics
public com.plccom.opc.ua.core.SessionSecurityDiagnosticsDataType getSessionSecurityDiagnostics() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the SessionSecurityDiagnostics- Returns:
- the SessionSecurityDiagnostics
- Throws:
com.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errorscom.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSessionSecurityDiagnostics
public com.plccom.opc.ua.builtintypes.StatusCode setSessionSecurityDiagnostics(com.plccom.opc.ua.core.SessionSecurityDiagnosticsDataType value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the SessionSecurityDiagnostics- Parameters:
value- the new SessionSecurityDiagnostics- 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.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the SubscriptionDiagnosticsArray- Returns:
- the SubscriptionDiagnosticsArray
- Throws:
com.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errorscom.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- Parameters:
value- the new 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
-
-