Class MiloClientConfiguration

  • All Implemented Interfaces:
    Cloneable

    @UriParams
    public class MiloClientConfiguration
    extends Object
    implements Cloneable
    • Constructor Detail

      • MiloClientConfiguration

        public MiloClientConfiguration()
    • Method Detail

      • setEndpointUri

        public void setEndpointUri​(String endpointUri)
        The OPC UA server endpoint
      • getEndpointUri

        public String getEndpointUri()
      • setDiscoveryEndpointUri

        public void setDiscoveryEndpointUri​(String endpointDiscoveryUri)
        An alternative discovery URI
      • getDiscoveryEndpointUri

        public String getDiscoveryEndpointUri()
      • setDiscoveryEndpointSuffix

        public void setDiscoveryEndpointSuffix​(String endpointDiscoverySuffix)
        A suffix for endpoint URI when discovering
      • getDiscoveryEndpointSuffix

        public String getDiscoveryEndpointSuffix()
      • setClientId

        public void setClientId​(String clientId)
        A virtual client id to force the creation of a new connection instance
      • getClientId

        public String getClientId()
      • setApplicationName

        public void setApplicationName​(String applicationName)
        The application name
      • getApplicationName

        public String getApplicationName()
      • setApplicationUri

        public void setApplicationUri​(String applicationUri)
        The application URI
      • getApplicationUri

        public String getApplicationUri()
      • setProductUri

        public void setProductUri​(String productUri)
        The product URI
      • getProductUri

        public String getProductUri()
      • setRequestTimeout

        public void setRequestTimeout​(Long reconnectTimeout)
        Request timeout in milliseconds
      • getRequestTimeout

        public Long getRequestTimeout()
      • setChannelLifetime

        public void setChannelLifetime​(Long channelLifetime)
        Channel lifetime in milliseconds
      • getChannelLifetime

        public Long getChannelLifetime()
      • setSessionName

        public void setSessionName​(String sessionName)
        Session name
      • getSessionName

        public String getSessionName()
      • setSessionTimeout

        public void setSessionTimeout​(Long sessionTimeout)
        Session timeout in milliseconds
      • getSessionTimeout

        public Long getSessionTimeout()
      • setMaxPendingPublishRequests

        public void setMaxPendingPublishRequests​(Long maxPendingPublishRequests)
        The maximum number of pending publish requests
      • getMaxPendingPublishRequests

        public Long getMaxPendingPublishRequests()
      • setMaxResponseMessageSize

        public void setMaxResponseMessageSize​(Long maxResponseMessageSize)
        The maximum number of bytes a response message may have
      • getMaxResponseMessageSize

        public Long getMaxResponseMessageSize()
      • setKeyStoreUrl

        public void setKeyStoreUrl​(String keyStoreUrl)
        The URL where the key should be loaded from
      • getKeyStoreUrl

        public String getKeyStoreUrl()
      • setKeyStoreType

        public void setKeyStoreType​(String keyStoreType)
        The key store type
      • getKeyStoreType

        public String getKeyStoreType()
      • setKeyAlias

        public void setKeyAlias​(String keyAlias)
        The name of the key in the keystore file
      • getKeyAlias

        public String getKeyAlias()
      • setKeyStorePassword

        public void setKeyStorePassword​(String keyStorePassword)
        The keystore password
      • getKeyStorePassword

        public String getKeyStorePassword()
      • setKeyPassword

        public void setKeyPassword​(String keyPassword)
        The key password
      • getKeyPassword

        public String getKeyPassword()
      • setAllowedSecurityPolicies

        public void setAllowedSecurityPolicies​(Set<String> allowedSecurityPolicies)
        A set of allowed security policy URIs. Default is to accept all and use the highest.
      • setAllowedSecurityPolicies

        public void setAllowedSecurityPolicies​(String allowedSecurityPolicies)
      • getAllowedSecurityPolicies

        public Set<String> getAllowedSecurityPolicies()
      • setOverrideHost

        public void setOverrideHost​(boolean overrideHost)
        Override the server reported endpoint host with the host from the endpoint URI.
      • isOverrideHost

        public boolean isOverrideHost()
      • setRequestedPublishingInterval

        public void setRequestedPublishingInterval​(Double requestedPublishingInterval)
        The requested publishing interval in milliseconds
      • getRequestedPublishingInterval

        public Double getRequestedPublishingInterval()
      • toCacheId

        public String toCacheId()
      • newBuilder

        public org.eclipse.milo.opcua.sdk.client.api.config.OpcUaClientConfigBuilder newBuilder()