public override HazelcastInstance ConnectToHazelcast() { ClientConfig clientConfig = new ClientConfig(); ClientNetworkConfig networkConfig = clientConfig.NetworkConfig; //JAVA TO C# CONVERTER TODO TASK: Method reference arbitrary object instance method syntax is not converted by Java to C# Converter: _remoteMembersResolver.resolve(AdvertisedSocketAddress::toString).forEach(networkConfig.addAddress); AdditionalConfig(networkConfig, _logProvider); return(HazelcastClient.newHazelcastClient(clientConfig)); }
/// <param name="networkConfig"> </param> /// <param name="logProvider"> </param> protected internal virtual void AdditionalConfig(ClientNetworkConfig networkConfig, LogProvider logProvider) { SecureHazelcastConfiguration.ConfigureSsl(networkConfig, this._sslPolicy, logProvider); }
/// <param name="clientNetworkConfig"> </param> /// <param name="sslPolicy"> </param> /// <param name="logProvider"> </param> public static void ConfigureSsl(ClientNetworkConfig clientNetworkConfig, SslPolicy sslPolicy, LogProvider logProvider) { SSLConfig sslConfig = CommonSslConfig(sslPolicy, logProvider); clientNetworkConfig.SSLConfig = sslConfig; }
protected internal virtual void AdditionalConfig(ClientNetworkConfig networkConfig, LogProvider logProvider) { }