Tanvi Jagtap
fc09bb43b7
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT ( #36327 )
...
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging
go/gpr_to_absl_logs
Replacing GPR_ASSERT with absl CHECK
GPR_ASSERT http://google3/third_party/grpc/include/grpc/support/log.h?q=symbol%3A%5CbGPR_ASSERT%5Cb%20case%3Ayes
CHECK http://google3/third_party/absl/log/check.h?q=symbol%3A%5CbCHECK%5Cb%20case%3Ayes
<!--
If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the appropriate
lang label.
-->
Closes #36327
PiperOrigin-RevId: 623851813
2024-04-11 09:44:44 -07:00
Eugene Ostroukhov
d43e35738a
Examples: unify command line flags ( #32456 )
...
1. All greeter servers now support flag `--port` to customize the listen
port.
2. All client implementation now have `--target` flag to specify the
server location.
3. ABSL is used to parse the flags to reduce the amount of boilerplate
code in the examples.
Fixes : #26989
2023-02-27 10:39:21 -08:00
AJ Heller
24bc7c455f
Match the greeter async example to the tutorial ( #30731 )
...
The "Prepare" bit is unnecessary for the basic async example. It's used
more meaningfully in the v2 async greeter implementations.
2022-08-24 11:45:32 -07:00
Vijay Pai
ce16365421
clang-format C++ examples ( #25764 )
2021-03-22 10:23:52 -07:00
Prashant Jaikumar
4f2d8a0014
Fix bazel build for examples
...
Fixed the bazel build for some code in the examples directory.
2019-03-28 18:59:14 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
2017-09-14 17:55:13 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Stanley Cheung
c9b401e3fc
cpp examples missing gpr asserts
2016-09-15 21:19:53 -07:00
Yuchen Zeng
2eedca72d5
Check the value of Next() in async examples
2016-05-05 18:21:47 -07:00
Michael Yeh
f9b89b181d
Updated to more closely mimic greeter_async_client.cc. Fixed typos in comments.
2016-05-04 16:36:20 -07:00
Michael Yeh
470cbd1c6e
Created a new sample async client that is non-blocking. A reader thread is spawned to handle all the RPC results.
2016-05-04 12:39:20 -07:00
Michael Yeh
2df7d40914
Modified sample async client to be non-blocking. A reader thread is spawned to handle all the RPC results.
2016-05-04 10:59:03 -07:00
Julien Boeuf
8c48a2a196
Fixing cpp examples.
2015-10-17 22:23:02 -07:00
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
2015-09-03 09:37:02 -07:00
Nicolas Noble
87d09e3aa4
Merge pull request #3164 from yang-g/route_guide_cpp
...
Change route_guide.proto package name and fix build
2015-08-31 16:07:03 -07:00
yang-g
e69909a7e7
fix build
2015-08-31 13:33:28 -07:00
yang-g
92806a51ba
remove ChannelArguments ref and update doc
2015-08-28 14:24:44 -07:00
yang-g
75d04da2e4
sync up with CreateChannel API change
2015-08-28 14:17:33 -07:00
Stanley Cheung
20fa6693f3
move examples to correct locations
2015-08-27 14:00:20 -07:00