public static async Task <GeometryProcessingClient> StartGeometryProcessingClient( [NotNull] string executablePath, string configFilePath) { ClientChannelConfig clientChannelConfig; if (string.IsNullOrEmpty(configFilePath)) { _msg.Debug( "Geometry processing microservice client configuration not found, using default settings..."); clientChannelConfig = new ClientChannelConfig { HostName = "localhost", Port = 5153 }; } else { clientChannelConfig = GetClientChannelConfig(configFilePath); } var result = new GeometryProcessingClient(clientChannelConfig); await result.AllowStartingLocalServerAsync(executablePath).ConfigureAwait(false); return(result); }
public GeometryProcessingClient([NotNull] ClientChannelConfig channelConfig) : base( channelConfig) { }
public QualityVerificationServiceClient([NotNull] ClientChannelConfig channelConfig) : base(channelConfig) { }