diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-07-14 17:46:58 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-07-15 11:29:38 -0700 |
commit | e5c9b80566c3260035187b19e37c91f5cd3d4e2a (patch) | |
tree | 2494d8fa3e9f7813f0e906ab59bac0a6dcab2333 /src/csharp/Grpc.Examples.MathClient | |
parent | 5a9674c0e7683f60bdd55f938e57dceb0a85a9e8 (diff) |
renaming stub to client and refactoring metadata class
Diffstat (limited to 'src/csharp/Grpc.Examples.MathClient')
-rw-r--r-- | src/csharp/Grpc.Examples.MathClient/MathClient.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/csharp/Grpc.Examples.MathClient/MathClient.cs b/src/csharp/Grpc.Examples.MathClient/MathClient.cs index b763721460..cfe2a06916 100644 --- a/src/csharp/Grpc.Examples.MathClient/MathClient.cs +++ b/src/csharp/Grpc.Examples.MathClient/MathClient.cs @@ -41,18 +41,18 @@ namespace math { using (Channel channel = new Channel("127.0.0.1", 23456)) { - Math.IMathClient stub = new Math.MathClient(channel); - MathExamples.DivExample(stub); + Math.IMathClient client = new Math.MathClient(channel); + MathExamples.DivExample(client); - MathExamples.DivAsyncExample(stub).Wait(); + MathExamples.DivAsyncExample(client).Wait(); - MathExamples.FibExample(stub).Wait(); + MathExamples.FibExample(client).Wait(); - MathExamples.SumExample(stub).Wait(); + MathExamples.SumExample(client).Wait(); - MathExamples.DivManyExample(stub).Wait(); + MathExamples.DivManyExample(client).Wait(); - MathExamples.DependendRequestsExample(stub).Wait(); + MathExamples.DependendRequestsExample(client).Wait(); } GrpcEnvironment.Shutdown(); |