diff options
author | nmittler <nathanmittler@google.com> | 2015-02-26 07:21:15 -0800 |
---|---|---|
committer | nmittler <nathanmittler@google.com> | 2015-02-26 07:21:15 -0800 |
commit | 8b3d4231c8fd055b86bdb2840df5abce445276dd (patch) | |
tree | a9be0dffa40cd8253341a75b238f97af7cc3cc12 | |
parent | dbae29ed0fc5b78832b72e0a0e794ae3ffecef4e (diff) |
Updating Java code in README.md
-rw-r--r-- | README.md | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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<ex.grpc.Helloworld.HelloReply> - responseObserver); + public void sayHello(io.grpc.examples.Helloworld.HelloRequest request, + io.grpc.stub.StreamObserver<io.grpc.examples.Helloworld.HelloReply> 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<GreeterStub, - GreeterServiceDescriptor> + public static class GreeterStub extends + io.grpc.stub.AbstractStub<GreeterStub, GreeterServiceDescriptor> implements Greeter { ... } |