Karthik Ravi Shankar
40210d3b8a
Move Channel to grpc_impl
6 years ago
Karthik Ravi Shankar
3996599392
Fix clang script errors
6 years ago
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
6 years ago
Karthik Ravi Shankar
e17ce91d16
Fix make errors
6 years ago
Karthik Ravi Shankar
3a31b96ef9
Fix error from make
6 years ago
Karthik Ravi Shankar
5f6a57a4d0
Formatting issues
6 years ago
Karthik Ravi Shankar
7fc86bd62f
Fix make errors
6 years ago
Karthik Ravi Shankar
360251f196
Fix make errors
6 years ago
Karthik Ravi Shankar
02cfba7737
Fix make errors
6 years ago
Karthik Ravi Shankar
5274deb32b
Fix the rebase and build
6 years ago
Karthik Ravi Shankar
2049b6c2bd
Fix build errors
6 years ago
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
6 years ago
Karthik Ravi Shankar
8d2207da4d
WIP: New changes to make namespace work
6 years ago
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
858b5cca20
Fix clang_format_code.sh issues and move the internal calls to new name
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
Karthik Ravi Shankar
2554f122c1
Remove unecessary files
6 years ago
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
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
9b42ab79e0
Make build fixes for bazel build :all
6 years ago
Yash Tibrewal
cb6a2968fe
Make Interceptors work for lame channels
6 years ago
Vijay Pai
fb5c385208
Remove unneeded header files
6 years ago
Karthik Ravi Shankar
4b0175f2c8
Fix errors from clang_format_code.sh
6 years ago
Karthik Ravi Shankar
130962490b
Make changes to fix test failures
6 years ago
Karthik Ravi Shankar
6da0ca4421
Bring ChannelArguments to grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
526bf39f89
Fold GenericStub from grpc_impl to grpc
6 years ago
Karthik Ravi Shankar
2772f519e6
Fix errors from presubmit scripts.
6 years ago
Karthik Ravi Shankar
4a0c3b848f
Fix broken tests
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Nicolas "Pixel" Noble
0c19be2fc8
Fixing cronet
6 years ago
Nicolas "Pixel" Noble
39d3b7335c
Missed a spot.
6 years ago
Yash Tibrewal
cddb5519f2
Add a test only method to reset global interceptor
6 years ago
Yash Tibrewal
c71b2f4fb7
Global Interceptor Registration allowed only once
6 years ago
Nicolas "Pixel" Noble
cabbd35014
Reformat.
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Lei Huang
3bd12ee2a8
grpc: init compression_algorithm_ in ClientContext ctor
...
`compression_algorithm_` could be a random value because not
initialized in ctor.
6 years ago
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
6 years ago
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
6 years ago
Vijay Pai
ea1156da3f
Stop exposing streaming object class
7 years ago
Vijay Pai
d7eb26648d
Client callback streaming
7 years ago
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
7 years ago
tongxuan.ltx
c21393e553
g_default_client_callbacks shouldn't be global variable
...
In tensorflow, RPC client thread doesn't active release,
rely on process to cleanup. If process have already
cleanup the global variable(g_default_client_callbacks),
after that client issue a RPC call which contains the ClientContext,
then once ClientContext destructor called,
pure virtual functions call error is reported.
7 years ago
Yash Tibrewal
4cc3717e15
move client_interceptor.cc from src/cpp/codegen to src/cpp/client
7 years ago
Yash Tibrewal
f8561952e9
Don't use default capture
7 years ago
Yash Tibrewal
e08a2b387a
Prefer lambda expressions over std::bind
7 years ago