Commit Graph

293 Commits

Author SHA1 Message Date
Vijay Pai 77073ce99f clang-format 2016-08-30 10:26:30 -07:00
Vijay Pai de2aec8106 Merge branch 'master' into fc_unary
Resolve conflicts in ServerReaderWriterInterface
Remove file server_streamed_unary.h and merge with sync_stream.h
2016-08-30 10:20:20 -07:00
kpayson64 d76ea83728 Merge pull request #7798 from y-zeng/ServerReaderWriterInterface
Add ServerReaderWriterInterface
2016-08-30 08:34:19 -07:00
Vijay Pai d4d5f4cd53 clang-format 2016-08-29 16:59:21 -07:00
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)
2016-08-29 16:42:04 -07:00
Vijay Pai cdc253535b Remove FC_UNARY enum and treat it more like a special case of BIDI_STREAMING
in all cases
2016-08-25 15:33:02 -07:00
Vijay Pai ac4113bef1 Merge branch 'master' into fc_unary 2016-08-25 14:49:18 -07:00
Takuto Ikuta bb04734eec Fix a typo 2016-08-25 13:31:51 +09:00
Yuchen Zeng 59e835d431 Add comments 2016-08-19 15:23:23 -07:00
Yuchen Zeng e0705e2dc2 Add ServerReaderWriterInterface 2016-08-19 15:13:43 -07:00
kpayson64 b80d9c9626 Merge pull request #7594 from chedeti/grpc-thrift-v2
grpc thrift integration
2016-08-17 16:59:20 -07:00
chedeti a7ee93864a remove const in Deserialize 2016-08-04 14:42:35 -07:00
chedeti 76db7f9a7c use boost::make_shared 2016-08-04 11:56:54 -07:00
Vijay Pai 5d94118d0d clang-format 2016-08-04 11:48:47 -07:00
Vijay Pai 581097fe0d Make FCUnary and ServerReaderWriter derived classes of a new
ServerReaderWriterInterface so that some functions can be made
to accept either.
2016-08-04 10:50:51 -07:00
Vijay Pai 666681612e Merge branch 'master' into fc_unary 2016-08-04 09:44:51 -07:00
chedeti 82afcaa009 rename class variables to snake_case 2016-08-03 16:38:05 -07:00
chedeti a17039aaa4 refine code and add README 2016-08-01 17:32:06 -07:00
David Garcia Quintas ffd207fe4c fixed include guard script and faulty .h 2016-08-01 16:20:52 -07:00
chedeti bc618eed71 thrift serializer 2016-07-31 15:35:51 -07:00
Nicolas Noble e51b9d2e39 Merge pull request #7502 from dgquintas/cpp_compression_level
C++ Compression Level set properly
2016-07-28 18:28:17 -07:00
Vijay Pai 2d04dd827c Change API for next message size to allow a bool return value for failure
cases.
2016-07-27 11:35:56 -07:00
kpayson64 b5fa72c89e Merge pull request #7451 from y-zeng/seperate_generated_files
Separate generated pb files from the server reflection build target, use grpc::protobuf instead of google::protobuf
2016-07-25 14:32:51 -07:00
David Garcia Quintas 440558a7ec C++ Compression Level set properly 2016-07-21 19:31:38 -07:00
David Garcia Quintas f77b9bf2fe Removed unused version of async_stream.h 2016-07-21 19:24:51 -07:00
Yuchen Zeng 2edf5e904b Merge remote-tracking branch 'upstream/master' into seperate_generated_files 2016-07-21 16:15:12 -07:00
kpayson64 b8e26c0217 Merge pull request #7486 from dgquintas/alive_typo
fixed typo
2016-07-21 15:15:47 -07:00
Vijay Pai 0a1c598986 Merge branch 'master' into fc_unary 2016-07-21 11:34:02 -07:00
Nicolas Noble 98f47f6169 Merge pull request #7469 from yang-g/proto_lite
Add a macro to support protobuf lite
2016-07-21 11:13:53 -07:00
David Garcia Quintas b91cddb2fa fixed typo 2016-07-20 17:40:01 -07:00
Yuchen Zeng 543c5886ee Merge remote-tracking branch 'upstream/master' into seperate_generated_files 2016-07-19 19:15:55 -07:00
kpayson64 7c519b9243 Merge pull request #7444 from y-zeng/fix_typo
Fix typos in config_protobuf.h
2016-07-19 17:34:59 -07:00
yang-g e6c04aa612 Add a macro to support protobuf lite 2016-07-19 14:46:50 -07:00
Yuchen Zeng 1318479011 Separate generated file and protobuf dependency 2016-07-18 13:07:42 -07:00
Yuchen Zeng 3046557a02 fix typo 2016-07-18 12:08:17 -07:00
Yuchen Zeng 24987dbf77 fix typo 2016-07-18 10:35:44 -07:00
Sree Kuchibhotla 69b74784fe Reduce the number of unnecessary allocations 2016-07-14 21:24:07 -07:00
David Garcia Quintas f2e20c2d8c Merge branch 'master' of github.com:grpc/grpc into bb_reader_error 2016-07-06 15:34:42 -07:00
David Garcia Quintas 6721d4f0f1 Return success status of grpc_byte_buffer_reader 2016-06-30 17:30:08 -07:00
David Garcia Quintas 314d3350d9 removed unused version of status_code_enum.h 2016-06-30 09:51:02 -07:00
Jan Tattermusch 3901ceed6a Merge pull request #6947 from vjpai/async_stream_doc
Doc Fixit: Ordering and thread-safety for C++ streaming (sync/async) APIs
2016-06-24 10:16:30 -07:00
vjpai c0c38b1f19 Make the FCUnary class actually work and test it 2016-06-23 17:27:11 -07:00
vjpai fcb98a578c Add NextMessageSize method to all readable streams as an upper-bound
on the actual message size.
Rename Size of FCUnary to NextMessageSize for consistency
2016-06-23 13:18:50 -07:00
vjpai a12276932d Add some const 2016-06-23 13:18:19 -07:00
vjpai 7142a91fc9 Fix up service types and method handlers so that FC unary can work properly. 2016-06-23 10:16:00 -07:00
Bill Clarke c072c927a8 Const correctness for ClientContext and ServerContext getters 2016-06-22 17:07:00 -07:00
vjpai ba6597f297 Actually generate code for FC Unary and make it work 2016-06-22 15:49:48 -07:00
vjpai 726561ed06 Initial definition of flow-controlled unary type along with code generation for this type 2016-06-22 11:14:24 -07:00
vjpai bd28936c86 Properly handle reviewer comment re concurrent Read 2016-06-21 18:03:37 -07:00
vjpai ef01edf5b7 Fix review comments 2016-06-21 16:42:08 -07:00