Class ServerConfigurationNode

    • Constructor Detail

      • ServerConfigurationNode

        public ServerConfigurationNode​(UaClient client,
                                       com.plccom.opc.ua.builtintypes.NodeId nodeId)
        default constructor for ServerConfigurationNode instances
        Parameters:
        client - the client instance
        nodeId - 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 operation
        com.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 operation
        com.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.ServiceResultException
        Returns 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 operation
        com.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.ServiceResultException
        Sets 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 operation
        com.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