Class MiloClientConfiguration
- java.lang.Object
-
- org.apache.camel.component.milo.client.MiloClientConfiguration
-
-
Constructor Summary
Constructors Constructor Description MiloClientConfiguration()MiloClientConfiguration(MiloClientConfiguration other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MiloClientConfigurationclone()Set<String>getAllowedSecurityPolicies()StringgetApplicationName()StringgetApplicationUri()LonggetChannelLifetime()StringgetClientId()StringgetDiscoveryEndpointSuffix()StringgetDiscoveryEndpointUri()StringgetEndpointUri()StringgetKeyAlias()StringgetKeyPassword()StringgetKeyStorePassword()StringgetKeyStoreType()StringgetKeyStoreUrl()LonggetMaxPendingPublishRequests()LonggetMaxResponseMessageSize()StringgetProductUri()DoublegetRequestedPublishingInterval()LonggetRequestTimeout()StringgetSessionName()LonggetSessionTimeout()booleanisOverrideHost()org.eclipse.milo.opcua.sdk.client.api.config.OpcUaClientConfigBuildernewBuilder()voidsetAllowedSecurityPolicies(String allowedSecurityPolicies)voidsetAllowedSecurityPolicies(Set<String> allowedSecurityPolicies)A set of allowed security policy URIs.voidsetApplicationName(String applicationName)The application namevoidsetApplicationUri(String applicationUri)The application URIvoidsetChannelLifetime(Long channelLifetime)Channel lifetime in millisecondsvoidsetClientId(String clientId)A virtual client id to force the creation of a new connection instancevoidsetDiscoveryEndpointSuffix(String endpointDiscoverySuffix)A suffix for endpoint URI when discoveringvoidsetDiscoveryEndpointUri(String endpointDiscoveryUri)An alternative discovery URIvoidsetEndpointUri(String endpointUri)The OPC UA server endpointvoidsetKeyAlias(String keyAlias)The name of the key in the keystore filevoidsetKeyPassword(String keyPassword)The key passwordvoidsetKeyStorePassword(String keyStorePassword)The keystore passwordvoidsetKeyStoreType(String keyStoreType)The key store typevoidsetKeyStoreUrl(String keyStoreUrl)The URL where the key should be loaded fromvoidsetMaxPendingPublishRequests(Long maxPendingPublishRequests)The maximum number of pending publish requestsvoidsetMaxResponseMessageSize(Long maxResponseMessageSize)The maximum number of bytes a response message may havevoidsetOverrideHost(boolean overrideHost)Override the server reported endpoint host with the host from the endpoint URI.voidsetProductUri(String productUri)The product URIvoidsetRequestedPublishingInterval(Double requestedPublishingInterval)The requested publishing interval in millisecondsvoidsetRequestTimeout(Long reconnectTimeout)Request timeout in millisecondsvoidsetSessionName(String sessionName)Session namevoidsetSessionTimeout(Long sessionTimeout)Session timeout in millisecondsStringtoCacheId()
-
-
-
Constructor Detail
-
MiloClientConfiguration
public MiloClientConfiguration()
-
MiloClientConfiguration
public MiloClientConfiguration(MiloClientConfiguration other)
-
-
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)
-
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()
-
clone
public MiloClientConfiguration clone()
-
toCacheId
public String toCacheId()
-
newBuilder
public org.eclipse.milo.opcua.sdk.client.api.config.OpcUaClientConfigBuilder newBuilder()
-
-