Class AuditOpenSecureChannelEventNode
- 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.AuditEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditSecurityEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditChannelEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditOpenSecureChannelEventNode
-
public class AuditOpenSecureChannelEventNode extends AuditChannelEventNode
PLCcom sdk AuditOpenSecureChannelEventNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description AuditOpenSecureChannelEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for AuditOpenSecureChannelEventNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getClientCertificate()Returns the attribute CLIENT_CERTIFICATE from cache or directly from connected ua serverStringgetClientCertificateThumbprint()Returns the attribute CLIENT_CERTIFICATE_THUMBPRINT from cache or directly from connected ua serverDoublegetRequestedLifetime()Returns the attribute REQUESTED_LIFETIME from cache or directly from connected ua servercom.plccom.opc.ua.core.SecurityTokenRequestTypegetRequestType()Returns the attribute REQUEST_TYPE from cache or directly from connected ua servercom.plccom.opc.ua.core.MessageSecurityModegetSecurityMode()Returns the attribute SECURITY_MODE from cache or directly from connected ua serverStringgetSecurityPolicyUri()Returns the attribute SECURITY_POLICY_URI from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetClientCertificate(byte[] value)Sets the attribute CLIENT_CERTIFICATE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetClientCertificateThumbprint(String value)Sets the attribute CLIENT_CERTIFICATE_THUMBPRINT of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetRequestedLifetime(Double value)Sets the attribute REQUESTED_LIFETIME of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetRequestType(com.plccom.opc.ua.core.SecurityTokenRequestType value)Sets the attribute REQUEST_TYPE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetSecurityMode(com.plccom.opc.ua.core.MessageSecurityMode value)Sets the attribute SECURITY_MODE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetSecurityPolicyUri(String value)Sets the attribute SECURITY_POLICY_URI of this node at connected ua server and refreshing the nodecache-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.AuditChannelEventNode
getSecureChannelId, setSecureChannelId
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.AuditEventNode
getActionTimeStamp, getClientAuditEntryId, getClientUserId, getServerId, getStatus, setActionTimeStamp, setClientAuditEntryId, setClientUserId, setServerId, setStatus
-
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
-
AuditOpenSecureChannelEventNode
public AuditOpenSecureChannelEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for AuditOpenSecureChannelEventNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getClientCertificate
public byte[] getClientCertificate() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute CLIENT_CERTIFICATE from cache or directly from connected ua server- Returns:
- the CLIENT_CERTIFICATE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setClientCertificate
public com.plccom.opc.ua.builtintypes.StatusCode setClientCertificate(byte[] value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute CLIENT_CERTIFICATE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the CLIENT_CERTIFICATE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getClientCertificateThumbprint
public String getClientCertificateThumbprint() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute CLIENT_CERTIFICATE_THUMBPRINT from cache or directly from connected ua server- Returns:
- the CLIENT_CERTIFICATE_THUMBPRINT attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setClientCertificateThumbprint
public com.plccom.opc.ua.builtintypes.StatusCode setClientCertificateThumbprint(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute CLIENT_CERTIFICATE_THUMBPRINT of this node at connected ua server and refreshing the nodecache- Parameters:
value- the CLIENT_CERTIFICATE_THUMBPRINT attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getRequestType
public com.plccom.opc.ua.core.SecurityTokenRequestType getRequestType() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute REQUEST_TYPE from cache or directly from connected ua server- Returns:
- the REQUEST_TYPE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setRequestType
public com.plccom.opc.ua.builtintypes.StatusCode setRequestType(com.plccom.opc.ua.core.SecurityTokenRequestType value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute REQUEST_TYPE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the REQUEST_TYPE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getSecurityPolicyUri
public String getSecurityPolicyUri() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute SECURITY_POLICY_URI from cache or directly from connected ua server- Returns:
- the SECURITY_POLICY_URI attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSecurityPolicyUri
public com.plccom.opc.ua.builtintypes.StatusCode setSecurityPolicyUri(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute SECURITY_POLICY_URI of this node at connected ua server and refreshing the nodecache- Parameters:
value- the SECURITY_POLICY_URI attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getSecurityMode
public com.plccom.opc.ua.core.MessageSecurityMode getSecurityMode() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute SECURITY_MODE from cache or directly from connected ua server- Returns:
- the SECURITY_MODE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSecurityMode
public com.plccom.opc.ua.builtintypes.StatusCode setSecurityMode(com.plccom.opc.ua.core.MessageSecurityMode value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute SECURITY_MODE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the SECURITY_MODE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getRequestedLifetime
public Double getRequestedLifetime() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute REQUESTED_LIFETIME from cache or directly from connected ua server- Returns:
- the REQUESTED_LIFETIME attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setRequestedLifetime
public com.plccom.opc.ua.builtintypes.StatusCode setRequestedLifetime(Double value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute REQUESTED_LIFETIME of this node at connected ua server and refreshing the nodecache- Parameters:
value- the REQUESTED_LIFETIME attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-