|
|
|
@ -223,10 +223,8 @@ 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); |
|
|
|
|
} |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
@ -234,8 +232,7 @@ has all the protocol buffer code to populate, serialize, and retrieve our |
|
|
|
|
|
|
|
|
|
```java |
|
|
|
|
public static class GreeterStub extends |
|
|
|
|
com.google.net.stubby.stub.AbstractStub<GreeterStub, |
|
|
|
|
GreeterServiceDescriptor> |
|
|
|
|
io.grpc.stub.AbstractStub<GreeterStub, GreeterServiceDescriptor> |
|
|
|
|
implements Greeter { |
|
|
|
|
... |
|
|
|
|
} |
|
|
|
|