You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p>In any call there are logically two {@link StreamObserver} implementations:
* <ul>
* <li>'inbound' - which the GRPC runtime calls when it receives messages from the
* remote peer. This is implemented by the application.
* </li>
* <li>'outbound' - which the GRPC runtime provides to the application which it uses to
* send messages to the remote peer.
* </li>
* </ul>
*
* <p>Implementations of this class represent the 'outbound' message stream.
As far as I can tell, for any call, there are three implementations of StreamObserver involved:
Implemented by the application, on the RPC client side ('inbound')
Implemented by the framework, on the RPC client side ('outbound'), ClientCallStreamObserver
Implemented by the framework, on the RPC server side ('outbound'), ServerCallStreamObserver
I think it would be nice to clarify that. I've spent significant time trying to understand where does ClientCallStreamObserver appear, being confused by the premise that there are only two implementations of StreamObserver.
Sometime, look at examples will help understand the APIs. I do agree with you some of our javadocs can be improved, and we are welcoming any contribution that helps our project. If you can send a pr to make the documentations better, we will be glad to review and merge it.
Activity
ran-su commentedon Dec 19, 2019
Sometime, look at examples will help understand the APIs. I do agree with you some of our javadocs can be improved, and we are welcoming any contribution that helps our project. If you can send a pr to make the documentations better, we will be glad to review and merge it.
creamsoup commentedon Jan 30, 2020
reopen this bug. Couple more clarifications are necessary as @leventov pointed out in the #6561.
@leventov, do you want to fix the other two?
leventov commentedon Jan 31, 2020
No
kumarakshays commentedon Jan 21, 2025
Need to go through the PR pointed by @creamsoup for more clarification but the PR link is invalid as its redirecting to the same page.
@leventov