Commit Graph

60 Commits

Author SHA1 Message Date
Craig Tiller 2622ddbcfd Merge branch 'we-dont-need-no-backup' into one-shouldnt-depend-on-protobufs
Conflicts:
	include/grpc++/async_unary_call.h
	include/grpc++/config.h
	include/grpc++/config_protobuf.h
	include/grpc++/impl/service_type.h
	include/grpc++/stream.h
	src/cpp/common/call.cc
2015-06-16 17:30:26 -07:00
Yang Gao c1a2c314fb Update the Status API 2015-06-16 10:59:46 -07:00
Craig Tiller bd277cb3cb Clarify serialization traits interface 2015-06-05 10:43:43 -07:00
Craig Tiller ce40de58da clang-format 2015-06-05 07:14:58 -07:00
Craig Tiller 789471cfc6 Client side compiles/links 2015-06-04 16:19:22 -07:00
Craig Tiller 50a7a68ca2 Progress commit on fixing up C++ 2015-06-04 12:53:40 -07:00
Craig Tiller 81fafa8971 Beginning the cleanup 2015-06-04 08:51:17 -07:00
Craig Tiller dd093f33f6 Remove some bad asserts 2015-05-15 16:29:58 -07:00
Yang Gao 4273f1e3bc add client side streaming interfaces 2015-05-04 14:51:27 -07:00
Abhishek Kumar d774c5cadb Test client stream cancellation and fix bug exposed by the test. 2015-04-23 14:59:49 -07:00
Yang Gao 7694c35d5f Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed 2015-03-03 09:48:06 -08:00
Nicolas "Pixel" Noble 1ff52d5278 Guard headers tool. 2015-03-01 06:18:14 +01:00
Craig Tiller cf133f41f8 Make it possible to compile with gcc4.6 2015-02-26 14:27:05 -08:00
Craig Tiller 2d11c93ab5 Merge github.com:grpc/grpc into an-update-on-c++ 2015-02-18 15:51:50 -08:00
Craig Tiller 8a287d1a1b Merge pull request #588 from yang-g/c++api
Async client api change. Add a ClientAsyncResponseReader.
2015-02-18 14:50:14 -08:00
Yang Gao 3a5e5495e5 Async client api change. Add a ClientAsyncResponseReader. Make the api similar to streaming and symmetric to server side. 2015-02-18 14:32:38 -08:00
Craig Tiller eaaee49f9b Merge github.com:grpc/grpc into an-update-on-c++ 2015-02-18 13:14:15 -08:00
Craig Tiller 492968f7d9 Server side cancellation receive support 2015-02-18 13:14:03 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Yang Gao 2b7f537546 Add metadata test with rpc. Adding/fixing things to make it work 2015-02-18 00:45:53 -08:00
Craig Tiller 573523f127 clang-format 2015-02-17 07:38:26 -08:00
Yang Gao 005f18a6a1 change ServerAsyncReader API and add a simple clientstreaming test, it passes 2015-02-13 10:22:33 -08:00
Yang Gao 0c7aafaa0c change AddRecvMessage signature 2015-02-12 22:51:38 -08:00
Yang Gao c17e861aa0 more nullptr for got_message 2015-02-12 22:22:23 -08:00
Craig Tiller 0220cf14b0 Add end2end async unary single threaded test (compiles) 2015-02-12 17:39:26 -08:00
Craig Tiller 3d20c5e8c6 Merge pull request #13 from yang-g/c++api
Make codegen generate async client calls
2015-02-12 15:25:53 -08:00
Yang Gao 068c85b21c make codegen generate async client calls 2015-02-12 15:21:24 -08:00
Craig Tiller d4ebeeb7fb Async server streaming 2015-02-12 14:57:17 -08:00
Yang Gao 5705fe3fca Add a cq argument in ClientAsync ctor and give it to the Call 2015-02-12 14:30:34 -08:00
Craig Tiller 984b09087f Merge branch 'c++api' of github.com:ctiller/grpc into c++api 2015-02-12 14:11:25 -08:00
Craig Tiller 1c9a2a91ca Async API progress 2015-02-12 14:10:25 -08:00
Yang Gao 0b18a8bd4c typo fix 2015-02-12 13:37:33 -08:00
Yang Gao 106906924f implement ServerAsyncResponseWriter for unary call 2015-02-12 13:27:14 -08:00
Yang Gao a38feb9be7 Implement async streaming APIs 2015-02-12 12:05:20 -08:00
Yang Gao 424bc92e37 implement ClientAsyncX api 2015-02-12 10:24:39 -08:00
Yang Gao ea222b2001 resolve comments, the context_ member needs protection for thread safety 2015-02-12 09:38:51 -08:00
Yang Gao 3ccdbe9bcc Make SendInitialMetadata work. 2015-02-11 23:56:30 -08:00
Yang Gao b492f06c9d Add SendInitialMetadata() to server streaming interfaces 2015-02-11 23:43:20 -08:00
Yang Gao fd7199f64e Add client side WaitForInitialMetadata for streaming. 2015-02-11 23:14:49 -08:00
Craig Tiller a847a8f8bc Finish streaming, lame client 2015-02-11 21:20:25 -08:00
Craig Tiller 0156752a66 Some streaming progress 2015-02-11 21:08:49 -08:00
Yang Gao 968ca530b2 Add trailing metadata to client context and use it. 2015-02-11 16:23:47 -08:00
Yang Gao 2382293226 Make it compile 2015-02-11 13:59:25 -08:00
Craig Tiller 20f4af2e36 Move call.h -> impl/call.h 2015-02-10 09:52:15 -08:00
Craig Tiller f9a06a78cb Remove temp code 2015-02-09 22:14:52 -08:00
Craig Tiller 549a74daa8 Rephrase async streaming methods
To ensure that the CallOpBuffers stay alive until completion.
2015-02-09 22:13:44 -08:00
Craig Tiller de917062ec Refine completion queue 2015-02-09 17:15:03 -08:00
Craig Tiller 5319164875 Cleanup 2015-02-09 16:15:23 -08:00
Craig Tiller 8de8c646c5 Merge pull request #3 from yang-g/c++api
more implementation and all async signatures
2015-02-09 16:12:36 -08:00