Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
10 years ago
Nicolas "Pixel" Noble
a05b8b7b25
Removing a few more references to #include <chrono>
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
Yang Gao
0c4b0ddcc5
Add tests with delayed cancellation from client and server
10 years ago
Vijay Pai
92a928fa68
Make string construction explicit as implicit conversion doesn't work in 4.4
10 years ago
Yang Gao
16c78c922c
Clean up unneeded includes and remove shutdown protobuf library
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Yang Gao
993d540e37
covert test to use generic stub
10 years ago
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
10 years ago
Yang Gao
757afaeb30
clang-format new changes
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
vjpai
7aadf46fdb
Change to std::chrono and add a test.
10 years ago
Yang Gao
1ad253d137
expose the server's cq through the generic service object
10 years ago
Yang Gao
45c09db87c
sort the tags, this is not necessary, just make it look better
10 years ago
Yang Gao
9fbbc7bb13
add one bidi test
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Yang Gao
0cb6c25e71
A first test with typed async client and untyped service for a simple rpc
10 years ago
Vijay Pai
64ac47f389
clang-format all these files
10 years ago
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
e4fe844b67
s/CreateChannel/CreateChannelDeprecated
...
For the 2-argument version of CreateChannel.
This is a temporary step until #711 is ready to roll out.
10 years ago
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
10 years ago
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
10 years ago
Craig Tiller
47c83fdaf7
Credentials prototyping
...
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
10 years ago
vjpai
d5577aac67
More typecasts to avoid sign-comparison problems on EXPECT_EQ
10 years ago
Yang Gao
3a5e5495e5
Async client api change. Add a ClientAsyncResponseReader. Make the api similar to streaming and symmetric to server side.
10 years ago
Craig Tiller
492968f7d9
Server side cancellation receive support
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Yang Gao
da699b8bc1
do not leak reader or writer
10 years ago
Yang Gao
2b7f537546
Add metadata test with rpc. Adding/fixing things to make it work
10 years ago
Yang Gao
406b32f663
Add missing APIs and a first metadata test, and test passes
10 years ago
Craig Tiller
857680be2c
Compile fixes
10 years ago
Yang Gao
0e0d8e11e6
add a simple server streaming e2e test, which passes
10 years ago
Yang Gao
005f18a6a1
change ServerAsyncReader API and add a simple clientstreaming test, it passes
10 years ago
Yang Gao
c05b6cb89d
add a bidi test and simplify the test a bit, test passes
10 years ago
Yang Gao
bb84a30f07
let the client/server use their own cq and pretty the test
10 years ago
Craig Tiller
0220cf14b0
Add end2end async unary single threaded test (compiles)
10 years ago
Craig Tiller
ec3257c120
Fix end2end leaks
10 years ago
Craig Tiller
7418d01de4
Make end2end_test use fewer threads
...
Helps finding interesting threads in gdb much easier
10 years ago
Craig Tiller
4d0fb5f1c0
Fixup callers with new api
10 years ago
Craig Tiller
f8ac5d846c
Fixup callers with new api
10 years ago
Craig Tiller
5319164875
Cleanup
10 years ago
Craig Tiller
1d2e21962e
Server progress
10 years ago
Craig Tiller
7b01878736
Fix returned status
...
The client should return status deadline exceeded when the deadline is
exceeded (not cancelled status)
10 years ago
Craig Tiller
14e60e9f8b
Use C signal handling in C++ end2end
10 years ago
Craig Tiller
0a00a08c53
Use C signal handling in C++ end2end
10 years ago
Craig Tiller
b5dcec5a2e
clang-format codebase
10 years ago