Vijay Pai
e859aa8169
Update server_callback_impl.h
5 years ago
Vijay Pai
3620abf059
Properly follow precise conditions for callback inlining
5 years ago
Vijay Pai
64281e8c79
Clarify ownership in comments
5 years ago
Vijay Pai
c758bf9571
clang-fmt
5 years ago
Vijay Pai
bffc5701e6
Fix cancellation
5 years ago
Vijay Pai
d82b3124fe
Move operations out of lock in Bind functions
5 years ago
Vijay Pai
94a8c5888a
Remove namespace experimental from namespace grpc_impl
5 years ago
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
5 years ago
Christian Maurer
46dddacdf3
remove all unused-parameter warnings
5 years ago
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
5 years ago
Moiz Haidry
1c354e7c1f
Move grpc async, callback and sync implementation to grpc_impl namespace
5 years ago
yang-g
7b0ee41fd5
Resolve comment
6 years ago
yang-g
7db36fe0a0
Add comments and rename internal methods
6 years ago
Soheil Hassas Yeganeh
85f08100d4
Avoid using seq_cst atomic operations in grpcpp when unnecessary.
...
These cases are almost all in the callback API.
Also use atomic<intptr_t> insteda of atomic_int for consistency with
gpr_atm and grpc_core::Atomic.
6 years ago
yang-g
b216c34314
Mark some methods virtual
6 years ago
Moiz Haidry
226e63dd0c
Move server context implementation to grpc_impl namespace and typedef the ref to it
6 years ago
yang-g
7c5bfbbb32
Resolve comments
6 years ago
yang-g
51210ba922
Update the message allocator API
6 years ago
yang-g
41824319fa
Resolve review comments
6 years ago
Vijay Pai
1a4f5e8ade
Fix typo in comment
...
It's a ServerWriteReactor
6 years ago
yang-g
051d421579
Resolve sanity
6 years ago
yang-g
6929cdd654
initial
6 years ago
Vijay Pai
41c6cba9f5
Make sure that OnCancel happens after OnStarted
6 years ago
Hope Casey-Allen
b86e70592e
Format
6 years ago
Hope Casey-Allen
cee3292cdf
Update callback API documentation
6 years ago
Vijay Pai
847b0155d9
Promise to call OnStarted and forbid Start* until after OnStarted
6 years ago
Vijay Pai
abb991be25
Further clarify some APIs by removing their comments from internal::
6 years ago
Vijay Pai
9169159f30
Comments for all callback API methods
6 years ago
Vijay Pai
7b3a120295
Address reviewer comments
6 years ago
Vijay Pai
93f0a3f653
Address reviewer comments
6 years ago
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
6 years ago
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.
6 years ago
Yash Tibrewal
c6261f4b91
Rename new SendMessage types to SendMessagePtr
6 years ago
Yash Tibrewal
4aeba42528
Provide GetOriginalSendMessage for some APIs
6 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Vijay Pai
526d2e6004
Refactoring of CallbackWithSuccessTag
6 years ago
Vijay Pai
932abf48a3
Address reviewer comments.
6 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
6 years ago