protected override bool ValidateClient(string endpoint, GrpcCommunicationClient <TGrpcClient> client) { var channel = client.Channel; return(channel.State == ChannelState.Ready && channel.Target.Equals(endpoint)); }
protected override void AbortClient(GrpcCommunicationClient <TGrpcClient> client) { client.Channel.ShutdownAsync().Wait(); }
protected override bool ValidateClient(GrpcCommunicationClient <TGrpcClient> client) { return(client.Channel.State == ChannelState.Ready); }