public ClientConnectionManager( ClientBuilder builder) { this.builder = builder; this.token = null; this.lstChannels = new List <ManagedChannel>(); }
public IClient SetAddress(params string[] address) { clientBuilder = new ClientBuilder(); clientBuilder.EndPoints(address); LoadUrlLunXun loadUrlLunXun = new LoadUrlLunXun(); clientBuilder.LoadBalancerFactory(loadUrlLunXun); loadUrlLunXun.EndPoint = clientBuilder.EndPoints(); client = clientBuilder.Build(); return(client); }