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 MiloClientConfiguration
clone()
Set<String>
getAllowedSecurityPolicies()
String
getApplicationName()
String
getApplicationUri()
Long
getChannelLifetime()
String
getClientId()
String
getDiscoveryEndpointSuffix()
String
getDiscoveryEndpointUri()
String
getEndpointUri()
String
getKeyAlias()
String
getKeyPassword()
String
getKeyStorePassword()
String
getKeyStoreType()
String
getKeyStoreUrl()
Long
getMaxPendingPublishRequests()
Long
getMaxResponseMessageSize()
String
getProductUri()
Double
getRequestedPublishingInterval()
Long
getRequestTimeout()
String
getSessionName()
Long
getSessionTimeout()
boolean
isOverrideHost()
org.eclipse.milo.opcua.sdk.client.api.config.OpcUaClientConfigBuilder
newBuilder()
void
setAllowedSecurityPolicies(String allowedSecurityPolicies)
void
setAllowedSecurityPolicies(Set<String> allowedSecurityPolicies)
A set of allowed security policy URIs.void
setApplicationName(String applicationName)
The application namevoid
setApplicationUri(String applicationUri)
The application URIvoid
setChannelLifetime(Long channelLifetime)
Channel lifetime in millisecondsvoid
setClientId(String clientId)
A virtual client id to force the creation of a new connection instancevoid
setDiscoveryEndpointSuffix(String endpointDiscoverySuffix)
A suffix for endpoint URI when discoveringvoid
setDiscoveryEndpointUri(String endpointDiscoveryUri)
An alternative discovery URIvoid
setEndpointUri(String endpointUri)
The OPC UA server endpointvoid
setKeyAlias(String keyAlias)
The name of the key in the keystore filevoid
setKeyPassword(String keyPassword)
The key passwordvoid
setKeyStorePassword(String keyStorePassword)
The keystore passwordvoid
setKeyStoreType(String keyStoreType)
The key store typevoid
setKeyStoreUrl(String keyStoreUrl)
The URL where the key should be loaded fromvoid
setMaxPendingPublishRequests(Long maxPendingPublishRequests)
The maximum number of pending publish requestsvoid
setMaxResponseMessageSize(Long maxResponseMessageSize)
The maximum number of bytes a response message may havevoid
setOverrideHost(boolean overrideHost)
Override the server reported endpoint host with the host from the endpoint URI.void
setProductUri(String productUri)
The product URIvoid
setRequestedPublishingInterval(Double requestedPublishingInterval)
The requested publishing interval in millisecondsvoid
setRequestTimeout(Long reconnectTimeout)
Request timeout in millisecondsvoid
setSessionName(String sessionName)
Session namevoid
setSessionTimeout(Long sessionTimeout)
Session timeout in millisecondsString
toCacheId()
-
-
-
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()
-
-