Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2022-12-22 23:01:53 -08:00
Cheng-Yu Chung
279ec5ab45
Remove include/grpcpp/impl/codegen/interceptor.h ( #31245 )
2022-10-06 13:18:11 -04:00
Cheng-Yu Chung
3236174176
Remove include/grpcpp/impl/codegen/byte_buffer.h ( #30948 )
...
* Remove `include/grpcpp/impl/codegen/byte_buffer.h`
* Update
2022-09-14 16:47:17 -04:00
Nicolas Noble
667691c499
server: per-rpc backend metric reporting ( #29621 )
...
Users can now report per-rpc metrics from servers to clients.
2022-05-20 15:54:30 -07:00
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com >
2021-09-08 09:13:03 -07:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
Jacob Dlougach
35ab5bc616
Include <memory> for std::unique_ptr
...
Currently `#include <grpcpp/support/interceptor.h>` in some compilers (gcc 8, for example) will fail due to missing `<memory>` include. This PR fixes this issue.
2020-05-21 14:17:45 +01:00
Yash Tibrewal
f671b3d136
Add hijacking interception hook points as valid for the GetRecv* functions
2019-05-30 15:39:37 -07:00
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
2019-02-20 17:58:30 -08:00
Yash Tibrewal
89ee1a8b10
Improved interception docs
2019-02-07 19:18:40 -08:00
Yash Tibrewal
73b1a918e4
Slight update to grammar. Can probably be improved more
2019-01-08 09:28:09 -08:00
Yash Tibrewal
b8a542cd23
Update Send message interception methods docs
2019-01-08 09:20:15 -08:00
Yash Tibrewal
b35b449166
Update docs according to #17630
2019-01-07 17:20:58 -08:00
Yash Tibrewal
dd067fd390
Merge branch 'master' into nocopyinterception
2019-01-07 10:09:06 -08:00
Yash Tibrewal
059459a9ee
Merge branch 'master' into failhijackedrecv
2019-01-04 17:28:25 -08:00
Yash Tibrewal
b05ca9697b
Merge branch 'master' into failhijackedrecv
2019-01-04 11:30:03 -08:00
Yash Tibrewal
9b9ef64027
Add more information on the usage of FailHijackedRecvMessage
2019-01-04 11:29:57 -08:00
Yash Tibrewal
7eeda22d9e
s/two/three
2019-01-03 18:23:15 -08:00
Yash Tibrewal
4224384d39
Modifying semantics for GetSendMessage and GetSerializedSendMessage.
...
Also adding ModifySendMessage
2019-01-03 18:01:58 -08:00
Yash Tibrewal
bac79bdabe
Merge branch 'master' into failhijackedsend
2019-01-03 15:51:43 -08:00
Yash Tibrewal
50c60f03ba
Rename GetSendMessage to GetSerializedSendMessage and GetOriginalSendMessage to GetSendMessage
2019-01-03 12:21:19 -08:00
Yash Tibrewal
4aeba42528
Provide GetOriginalSendMessage for some APIs
2018-12-28 17:27:38 -08:00
Yash Tibrewal
24e37e249a
Merge branch 'master' into failhijackedrecv
2018-12-26 15:10:41 -08:00
Yash Tibrewal
5a6183f1bd
Merge branch 'master' into failhijackedsend
2018-12-26 13:33:06 -08:00
Vijay Pai
cfe08f35f3
Add comments explaining purpose and validity of interception API
2018-12-18 14:53:56 -08:00
Yash Tibrewal
d4ebd30eb2
Add method to get status of send message op on POST_SEND_MESSAGE
2018-11-15 15:57:43 -08:00
Yash Tibrewal
0911e489e3
Add a method to check whether the message was received successfully
2018-11-15 13:55:56 -08:00
Yash Tibrewal
5d7d6c0fbd
Add method to fail hijacked send messages
2018-11-14 17:35:26 -08:00
Yash Tibrewal
699c10386d
Add method to fail recv msg for hijacked rpcs
2018-11-09 19:43:00 -08:00
Yash Tibrewal
a803f96e5a
Add comment on cancellation being forever alone in the batch
2018-11-06 15:32:05 -08:00
Yash Tibrewal
ddcadad5b5
Add note on hijacking
2018-11-01 16:26:04 -07:00
Yash Tibrewal
3ece34d45c
Let us clean a few things before getting started
2018-10-31 15:29:26 -07:00
Yash Tibrewal
85ddf5c713
Get ClientContext included with ChannelInterface, and slight more cleanup
2018-10-29 00:14:05 -07:00
Yash Tibrewal
cc21d32c77
Some cleanup
2018-10-26 00:13:55 -07:00
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
2018-10-22 02:42:03 -07:00
Yash Tibrewal
52765e9cb1
Don't expose internal functions.. Add a layer of indirection namely InternalInterceptorBatchMethods
2018-10-19 17:07:05 -07:00
Yash Tibrewal
b232bacf27
Starting on server interceptors
2018-10-16 14:11:07 -07:00
Yash Tibrewal
f9fe345553
Add more tests for client interceptors
2018-10-16 14:11:07 -07:00
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
2018-10-16 14:10:48 -07:00
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
2018-10-16 14:10:30 -07:00
Yash Tibrewal
63bdf4e236
More changes for client interception
2018-10-16 14:10:02 -07:00
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
2018-10-16 14:09:34 -07:00
Yash Tibrewal
b741edf37e
Error fixes
2018-09-27 17:34:19 -07:00
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
2018-09-26 19:25:30 -07:00