//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: ClientInitializer(SslPolicy sslPolicy, Bucket bucket) throws javax.net.ssl.SSLException internal ClientInitializer(SecureClient outerInstance, SslPolicy sslPolicy, Bucket bucket) { this._outerInstance = outerInstance; this.SslContext = sslPolicy.NettyClientContext(); this.Bucket = bucket; this.SslPolicy = sslPolicy; }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public SecureClient(SslPolicy sslPolicy) throws javax.net.ssl.SSLException public SecureClient(SslPolicy sslPolicy) { _eventLoopGroup = new NioEventLoopGroup(); _bootstrap = (new Bootstrap()).group(_eventLoopGroup).channel(typeof(NioSocketChannel)).handler(new ClientInitializer(this, sslPolicy, _bucket)); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public SecureServer(SslPolicy sslPolicy) throws javax.net.ssl.SSLException public SecureServer(SslPolicy sslPolicy) { this._sslContext = sslPolicy.NettyServerContext(); }