public interface UaStackClientConfig
EndpointDescription getEndpoint()
EndpointDescription to connect to.Optional<KeyPair> getKeyPair()
KeyPair to use.
May be absent if connecting without security, must be present if connecting with security.
Optional<X509Certificate> getCertificate()
X509Certificate to use.
May be absent if connecting without security, must be present if connecting with security.
Optional containing the X509Certificate to use.Optional<X509Certificate[]> getCertificateChain()
X509Certificate to use as well as any certificates in the certificate chain.X509Certificate to use as well as any certificates in the certificate chain.ClientCertificateValidator getCertificateValidator()
ClientCertificateValidator this client will use to validate server certificates when connecting.EncodingLimits getEncodingLimits()
EncodingLimits.ExecutorService getExecutor()
ExecutorService used by the client.ScheduledExecutorService getScheduledExecutor()
ScheduledExecutorService used by the client.io.netty.channel.nio.NioEventLoopGroup getEventLoop()
NioEventLoopGroup used by the client.io.netty.util.HashedWheelTimer getWheelTimer()
HashedWheelTimer used by the client.UInteger getConnectTimeout()
UInteger getAcknowledgeTimeout()
UInteger getRequestTimeout()
UInteger getChannelLifetime()
static UaStackClientConfigBuilder builder()
static UaStackClientConfigBuilder copy(UaStackClientConfig config)
UaStackClientConfig into a new UaStackClientConfigBuilder.
This builder can be used to make any desired modifications before invoking
UaStackClientConfigBuilder.build() to produce a new config.config - the UaStackClientConfig to copy from.UaStackClientConfigBuilder pre-populated with values from config.static UaStackClientConfig copy(UaStackClientConfig config, Consumer<UaStackClientConfigBuilder> consumer)
UaStackClientConfig into a new UaStackClientConfigBuilder
and then submit the builder to the provided consumer for modification.config - the UaStackClientConfig to copy from.consumer - a Consumer that may modify the builder.UaStackClientConfig built from the builder provided to consumer.Copyright © 2021. All rights reserved.