Commit Graph

102 Commits

Author SHA1 Message Date
Craig Tiller 7326901767 Merge pull request #579 from yang-g/c++api
change metadata getters to return const&
2015-02-18 13:18:53 -08:00
Yang Gao d0d007e6d1 change metadata getters to return const& 2015-02-18 10:28:09 -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
Craig Tiller 6d5f42e79a Fix copyright notice 2015-02-18 08:31:24 -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 ab294db744 Add some comments 2015-02-17 15:00:19 -08:00
Yang Gao f2c0ca4c62 Add setter to override authority header on ClientContext 2015-02-17 10:21:31 -08:00
Craig Tiller 573523f127 clang-format 2015-02-17 07:38:26 -08:00
Craig Tiller 771fefb41b Merge pull request #18 from yang-g/c++api
Add missing APIs and a first metadata test, and test passes
2015-02-13 16:30:49 -08:00
Yang Gao 406b32f663 Add missing APIs and a first metadata test, and test passes 2015-02-13 16:25:33 -08:00
Craig Tiller 8c22f05f21 Minor compile fix 2015-02-13 15:11:57 -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 c645306b64 Fixes 2015-02-12 17:32:57 -08:00
Yang Gao 31150f01db implement async unary call 2015-02-12 16:44:00 -08:00
Yang Gao 555a0e9e77 Merge branch 'c++api' of github.com:ctiller/grpc into c++api 2015-02-12 16:12:36 -08:00
Yang Gao cbcc977857 fix sync unary call with metadata pieces 2015-02-12 16:09:08 -08:00
Craig Tiller ec3257c120 Fix end2end leaks 2015-02-12 15:59:43 -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
Craig Tiller 3d6ceb6461 Async server dispatch 2015-02-12 14:33:54 -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 9a2743a897 Merge branch 'c++api' of github.com:ctiller/grpc into c++api 2015-02-12 12:05:47 -08:00
Yang Gao a38feb9be7 Implement async streaming APIs 2015-02-12 12:05:20 -08:00
Craig Tiller 8c8d0aa1d8 Async API progress 2015-02-12 11:38:36 -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
Craig Tiller 504bd331ab Make sure we get a close before stopping the server 2015-02-11 20:34:33 -08:00
Craig Tiller 39550b6c4c Merge pull request #9 from yang-g/c++api
Add trailing metadata to client context and use it.
2015-02-11 16:50:09 -08:00
Craig Tiller 47a573602a Fix ownership 2015-02-11 16:31:45 -08:00
Yang Gao 968ca530b2 Add trailing metadata to client context and use it. 2015-02-11 16:23:47 -08:00
Craig Tiller 9dcb0f8e1d Send initial metadata 2015-02-11 15:36:31 -08:00
Yang Gao 2382293226 Make it compile 2015-02-11 13:59:25 -08:00
Yang Gao 1464bc175d resolve conflict 2015-02-11 13:48:28 -08:00
Yang Gao f1258c4951 save before the change 2015-02-11 13:44:11 -08:00
Craig Tiller bb5227fc39 Allow server to hook calls also, fix crash 2015-02-11 13:34:48 -08:00
Craig Tiller a5c0e7bc46 Initial metadata fix 2015-02-11 13:14:49 -08:00