Class ServerConfigurationNode
- 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.ServerConfigurationNode
-
public class ServerConfigurationNode extends BaseObjectNode
PLCcom sdk ServerConfigurationNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description ServerConfigurationNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for ServerConfigurationNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateGroupFolderNodegetCertificateGroups()returns the CertificateGroups from nodecom.plccom.opc.ua.builtintypes.UnsignedIntegergetMaxTrustListSize()Returns the attribute MAX_TRUST_LIST_SIZE from cache or directly from connected ua serverBooleangetMulticastDnsEnabled()Returns the attribute MULTICAST_DNS_ENABLED from cache or directly from connected ua serverString[]getServerCapabilities()Returns the attribute SERVER_CAPABILITIES from cache or directly from connected ua serverString[]getSupportedPrivateKeyFormats()Returns the attribute SUPPORTED_PRIVATE_KEY_FORMATS from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetMaxTrustListSize(com.plccom.opc.ua.builtintypes.UnsignedInteger value)Sets the attribute MAX_TRUST_LIST_SIZE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetMulticastDnsEnabled(Boolean value)Sets the attribute MULTICAST_DNS_ENABLED of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetServerCapabilities(String[] value)Sets the attribute SERVER_CAPABILITIES of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetSupportedPrivateKeyFormats(String[] value)Sets the attribute SUPPORTED_PRIVATE_KEY_FORMATS of this node at connected ua server and refreshing the nodecache-
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
-
ServerConfigurationNode
public ServerConfigurationNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for ServerConfigurationNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getServerCapabilities
public String[] getServerCapabilities() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute SERVER_CAPABILITIES from cache or directly from connected ua server- Returns:
- the SERVER_CAPABILITIES attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setServerCapabilities
public com.plccom.opc.ua.builtintypes.StatusCode setServerCapabilities(String[] value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute SERVER_CAPABILITIES of this node at connected ua server and refreshing the nodecache- Parameters:
value- the SERVER_CAPABILITIES attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getSupportedPrivateKeyFormats
public String[] getSupportedPrivateKeyFormats() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute SUPPORTED_PRIVATE_KEY_FORMATS from cache or directly from connected ua server- Returns:
- the SUPPORTED_PRIVATE_KEY_FORMATS attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSupportedPrivateKeyFormats
public com.plccom.opc.ua.builtintypes.StatusCode setSupportedPrivateKeyFormats(String[] value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute SUPPORTED_PRIVATE_KEY_FORMATS of this node at connected ua server and refreshing the nodecache- Parameters:
value- the SUPPORTED_PRIVATE_KEY_FORMATS attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getMaxTrustListSize
public com.plccom.opc.ua.builtintypes.UnsignedInteger getMaxTrustListSize() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute MAX_TRUST_LIST_SIZE from cache or directly from connected ua server- Returns:
- the MAX_TRUST_LIST_SIZE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setMaxTrustListSize
public com.plccom.opc.ua.builtintypes.StatusCode setMaxTrustListSize(com.plccom.opc.ua.builtintypes.UnsignedInteger value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute MAX_TRUST_LIST_SIZE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the MAX_TRUST_LIST_SIZE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getMulticastDnsEnabled
public Boolean getMulticastDnsEnabled() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute MULTICAST_DNS_ENABLED from cache or directly from connected ua server- Returns:
- the MULTICAST_DNS_ENABLED attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setMulticastDnsEnabled
public com.plccom.opc.ua.builtintypes.StatusCode setMulticastDnsEnabled(Boolean value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute MULTICAST_DNS_ENABLED of this node at connected ua server and refreshing the nodecache- Parameters:
value- the MULTICAST_DNS_ENABLED attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getCertificateGroups
public CertificateGroupFolderNode getCertificateGroups() throws com.plccom.opc.ua.common.ServiceResultException
returns the CertificateGroups from node- Returns:
- a CertificateGroupFolderNode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-