Karthik Ravi Shankar
772a74aced
Revert changes to Channel
6 years ago
hcaseyal
f2fb11030b
Add protected getters and setters for server health check fields
6 years ago
yang-g
898fc0da1e
More fixes
6 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Karthik Ravi Shankar
6b0806eae3
more formatting changes
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
6 years ago
Karthik Ravi Shankar
dc3a715be4
Fix clang format code errors.
6 years ago
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
6 years ago
Vijay Pai
b7f14fdab8
Properly implement unimplemented RPCs at callback-only server
6 years ago
Karthik Ravi Shankar
3b7a47cde6
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
...
This change moves ServerBuilder class from grpc namespace to grpc_impl
namespace.
6 years ago
Vijay Pai
05d8ddfc6e
Support callback-based generic service
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
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
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Vijay Pai
8521c0394b
Address optional reviewer comments
6 years ago
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
6 years ago
Vijay Pai
7a164229db
Address reviewer comments
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
6 years ago
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
6 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
6 years ago
Yash Tibrewal
145789e9ff
interceptor_creators_ should be destroyed after health_check_service_
6 years ago
Yash Tibrewal
bfd1935afc
Add note on the experimental nature of the additional method in ServerInterface
6 years ago
Yash Tibrewal
456231b26d
Server side interception for CompletionOp and AsyncRequest
6 years ago
Yash Tibrewal
adca91f6cf
Server interception for SyncRequest
6 years ago
Yash Tibrewal
196f530ac9
Pass interceptor creators to server object
6 years ago
Yash Tibrewal
1d999617e2
Add experimental versions with interceptors for create channel from fd and inproc channel
6 years ago
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
6 years ago
Sree Kuchibhotla
a2a64e5ad3
Fix default argument(put it in header instead of source file)
6 years ago
Sree Kuchibhotla
9ce673f861
Make resource quota argument optional to the Server constructor
6 years ago
Sree Kuchibhotla
bdd13cb0ae
Revert "Revert "Restrict the number of threads in C++ sync server""
6 years ago
Nicolas Noble
bea98c3c1b
Revert "Restrict the number of threads in C++ sync server"
6 years ago
Sree Kuchibhotla
ec1c112cc1
Each ThreadManager is a resource user
6 years ago
Vijay Pai
a4da2d2a54
Eliminate existence of SneakyCallOpSet, some server cleanup
7 years ago
Vijay Pai
3c3c4c913a
Update server.h
7 years ago
makdharma
626a65e877
Added protected default constructor
7 years ago
makdharma
757af97ad0
added ///Experimental in comment for c_server
...
Please enter the commit message for your changes. Lines starting
7 years ago
makdharma
838af3eb6c
moved member variables from protected to private
...
Per style guide, the member variables are not protected but private and
accessed through methods.
7 years ago
makdharma
57237443ac
clang-format
7 years ago
makdharma
8065000697
Remove "final" keyword and make methods protected.
...
This adds extensibility to the API and makes custom implementation
of the server possible.
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
7 years ago
Vijay Pai
fd4884a768
Address review comments
7 years ago
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago