Fixed typo

This commit is contained in:
Lisa Carey 2015-02-25 18:48:22 +00:00
parent d60ef19609
commit c716badd56
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ As you can see, like the previous method types our method gets a `StreamObserver
In the method body we instantiate an anonymous `StreamObserver` to return, in which we:
- Override the `onValue()` method to get features and other information each time the client writes a `Point` to the message stream.
- Override the `onCompleted()' method (called when the *client* has finished writing messages) to populate and build our `RouteSummary`. We then call our method's own response observer's `onValue()` with our `RouteSummary`, and then call its `onCompleted()` method to finish the call from the server side.
- Override the `onCompleted()` method (called when the *client* has finished writing messages) to populate and build our `RouteSummary`. We then call our method's own response observer's `onValue()` with our `RouteSummary`, and then call its `onCompleted()` method to finish the call from the server side.
Finally, let's look at our bidirectional streaming RPC `RouteChat()`.