From 8b3d4231c8fd055b86bdb2840df5abce445276dd Mon Sep 17 00:00:00 2001 From: nmittler Date: Thu, 26 Feb 2015 07:21:15 -0800 Subject: [PATCH] Updating Java code in README.md --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8e5d816a121..f3e28f82e22 100644 --- a/README.md +++ b/README.md @@ -223,19 +223,16 @@ has all the protocol buffer code to populate, serialize, and retrieve our ```java public static interface Greeter { - - public void SayHello(ex.grpc.Helloworld.HelloRequest request, - com.google.net.stubby.stub.StreamObserver - responseObserver); + public void sayHello(io.grpc.examples.Helloworld.HelloRequest request, + io.grpc.stub.StreamObserver responseObserver); } ``` - _stub_ classes that clients can use to talk to a `Greeter` server. As you can see, they also implement the `Greeter` interface. ```java -public static class GreeterStub extends - com.google.net.stubby.stub.AbstractStub + public static class GreeterStub extends + io.grpc.stub.AbstractStub implements Greeter { ... }