Skip to content
Snippets Groups Projects
Commit 034eb2e8 authored by Lisa Carey's avatar Lisa Carey
Browse files

Markdown, I hate you.

parent 2fdb9638
No related branches found
No related tags found
No related merge requests found
......@@ -213,14 +213,14 @@ which contains (along with some other useful code):
- _stub_ classes that clients can use to talk to a `Greetings` server.
```java
```java
public static class GreetingsStub extends
com.google.net.stubby.stub.AbstractStub<GreetingsStub,
GreetingsServiceDescriptor>
implements Greetings {
...
}
```
```
<a name="server"></a>
### Writing a server
......@@ -266,6 +266,7 @@ As you can see, the class `GreetingsImpl` implements the interface
a special interface for the server to call with its response
To return our response to the client and complete the call:
1. We construct and populate a `HelloReply` response object with our exciting
message, as specified in our interface definition.
2. We call `responseObserver.onValue()` with the `HelloReply` that we want to send back to the client.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment