Vijay Pai
a9c0d7f88b
Change names to StreamedUnary, ServerUnaryStreamer, etc. Use a templated method handler since most code shared between the new StreamedUnary and the existing BidiStreaming. Eliminate the separate enum case for streamed unary. Return a status failure if a StreamedUnary method handler doesn't actually do a write (since that is
...
violating the appearance of unary-ness)
8 years ago
Vijay Pai
581097fe0d
Make FCUnary and ServerReaderWriter derived classes of a new
...
ServerReaderWriterInterface so that some functions can be made
to accept either.
8 years ago
vjpai
c0c38b1f19
Make the FCUnary class actually work and test it
9 years ago
vjpai
ef01edf5b7
Fix review comments
9 years ago
vjpai
b9df2760ed
Add proper documentation of ordering and thread-safety for
...
streaming (sync and async) APIs
9 years ago
Sree Kuchibhotla
01907123f6
generate_projects.sh and fix copyright year
9 years ago
Sree Kuchibhotla
1f5e262589
Add the option of adding a non-listening server completion queue. This makes writing certain test cases (like hybrid_end2end tests) easier
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
David Garcia Quintas
60ee8dd2fc
docstrings
9 years ago
David Garcia Quintas
b942640497
clang-format
9 years ago
David Garcia Quintas
be25493398
codegen interface usage of gpr_inf_future
9 years ago
David Garcia Quintas
e1ce31eda3
wip. cq refactored
9 years ago
Sree Kuchibhotla
b0d1567e8e
Revert "Revert "Properly integrate async API with server-side cancellations.""
9 years ago
Sree Kuchibhotla
edd96e4926
Revert "Properly integrate async API with server-side cancellations."
9 years ago
Vijay Pai
13ee2f2df3
Properly integrate async API with server-side cancellations.
...
There is a comment above IsCancelled that says when it is ok to use this.
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
6bd7b97dc6
DONE!!1one
9 years ago
David Garcia Quintas
e1300deb87
After GrpcLibrary refactoring. Compiles and passes. WIP still
9 years ago
David Garcia Quintas
08a0a3306e
Made "codedgen" directories closed over #includes
9 years ago
David Garcia Quintas
f3ddb7c55a
clang-format
9 years ago
David Garcia Quintas
e50c6c2f5e
WIP. Added ChannelInterface
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Ian Coolidge
8e7a4b66e8
Fix R/W template argument order in prototypes
...
In some cases, the prototype argument order was different
than the declaration order.
Based on a patch from Sam Leffler.
9 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
9 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
9 years ago
David Garcia Quintas
14111e9da1
Added grpc++.h with mainpage docs.
...
Minor fixes to previously existing docs.
9 years ago
David Garcia Quintas
4dd03f9f73
Comments on the comments. Meta much?
9 years ago
David Garcia Quintas
1678c58183
wip
9 years ago
David Garcia Quintas
3068af2981
wip
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
9 years ago
Craig Tiller
143e7bf0cf
Introduce a clock type field onto gpr_timespec.
...
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
10 years ago
yang-g
adfed03146
Add missing headers to build.json
10 years ago
Craig Tiller
ce40de58da
clang-format
10 years ago
Craig Tiller
50a7a68ca2
Progress commit on fixing up C++
10 years ago
Craig Tiller
81fafa8971
Beginning the cleanup
10 years ago
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
10 years ago
zeliard
179be50ad3
merge VS solutions file from upstream master
10 years ago
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
Yang Gao
b7b965c842
Make Next free of time_point to timespec conversion
10 years ago
Yang Gao
050e37aab8
resolve merge error
10 years ago
Nicolas "Pixel" Noble
eab96f51fb
Dodging VisualStudio's #define of max().
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
Vijay Pai
c41bf3cb5a
More sane ordering of methods
10 years ago
Vijay Pai
3e0a46a1c4
Change behavior to properly account for possibility of NULL
...
tag. This can happen if the tag is actually an integer being
typecast to void*
To avoid breaking the API of existing Next calls, I've made
a new AsyncNext method with a tri-state return that indicates
whether there is a shutdown, an actual event, or a timeout.
Still needs proper testing for the AsyncNext method specifically.
10 years ago
Vijay Pai
ee705f6d66
Add support for deadline on CompletionQueue::Next
...
If the deadline elapses, return true but have a null tag.
10 years ago