/** * Constructor. */ ClientChannelConfiguration(ClientConfiguration cfg) { this.sslMode = cfg.getSslMode(); this.tcpNoDelay = cfg.isTcpNoDelay(); this.timeout = cfg.getTimeout(); this.sndBufSize = cfg.getSendBufferSize(); this.rcvBufSize = cfg.getReceiveBufferSize(); this.sslClientCertKeyStorePath = cfg.getSslClientCertificateKeyStorePath(); this.sslClientCertKeyStoreType = cfg.getSslClientCertificateKeyStoreType(); this.sslClientCertKeyStorePwd = cfg.getSslClientCertificateKeyStorePassword(); this.sslTrustCertKeyStorePath = cfg.getSslTrustCertificateKeyStorePath(); this.sslTrustCertKeyStoreType = cfg.getSslTrustCertificateKeyStoreType(); this.sslTrustCertKeyStorePwd = cfg.getSslTrustCertificateKeyStorePassword(); this.sslKeyAlgorithm = cfg.getSslKeyAlgorithm(); this.sslProto = cfg.getSslProtocol(); this.sslTrustAll = cfg.isSslTrustAll(); this.sslCtxFactory = cfg.getSslContextFactory(); this.userName = cfg.getUserName(); this.userPwd = cfg.getUserPassword(); }
/** * Constructor. */ ClientChannelConfiguration(ClientConfiguration cfg) { this.sslMode = cfg.getSslMode(); this.tcpNoDelay = cfg.isTcpNoDelay(); this.timeout = cfg.getTimeout(); this.sndBufSize = cfg.getSendBufferSize(); this.rcvBufSize = cfg.getReceiveBufferSize(); this.sslClientCertKeyStorePath = cfg.getSslClientCertificateKeyStorePath(); this.sslClientCertKeyStoreType = cfg.getSslClientCertificateKeyStoreType(); this.sslClientCertKeyStorePwd = cfg.getSslClientCertificateKeyStorePassword(); this.sslTrustCertKeyStorePath = cfg.getSslTrustCertificateKeyStorePath(); this.sslTrustCertKeyStoreType = cfg.getSslTrustCertificateKeyStoreType(); this.sslTrustCertKeyStorePwd = cfg.getSslTrustCertificateKeyStorePassword(); this.sslKeyAlgorithm = cfg.getSslKeyAlgorithm(); this.sslProto = cfg.getSslProtocol(); this.sslTrustAll = cfg.isSslTrustAll(); this.sslCtxFactory = cfg.getSslContextFactory(); this.userName = cfg.getUserName(); this.userPwd = cfg.getUserPassword(); }