Vijay Pai
05d8ddfc6e
Support callback-based generic service
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
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
7 years ago
hxcan.cai
ba65002de4
Fix error in Doxygen comment.
7 years ago
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
7 years ago
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Mark D. Roth
127fdaeace
More Doxygen comment improvements.
8 years ago
Mehrdad Afshari
4601bc254b
tiny edit and linking entities
8 years ago
Mehrdad Afshari
493f444c73
minor: prefer more formal 'it is' to it's
8 years ago
Mehrdad Afshari
3cd6cf4983
Fix documentation for Server::AddListeningPort
...
Clarify that Port is actually an endpoint.
Fix typos
Clarify that it should be used before starting the server.
8 years ago
Mehrdad Afshari
bcd6ca5033
Link to grpc_server symbol
8 years ago
Mehrdad Afshari
24b6d39212
Clarified GlobalCallbacks documentation comment
...
Make it clear that "global" and "per application" means
shared among all grpc::Server instances.
8 years ago
Mehrdad Afshari
7ee630a3d7
Clarified grpc::Server documentation comment
...
Make it clear that the creation of the Server instance
is not supposed to happen by using the Server class
directly and they are instructed to use ServerBuilder.
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
yang-g
eafeea48a9
Update ServerGlobalCallback::AddPort api
8 years ago
Craig Tiller
a103f7bbdf
update comments
8 years ago
Craig Tiller
9d9313cfc6
Threading robustness
...
Move server startup to a separate thread.
Where there is no opportunity for failure, do not return bool.
8 years ago