yang-g
e39cb740ca
Add a dummy reference to prevent unused variable warning if there is no rpc method defined.
2016-02-10 23:50:08 -08:00
David Garcia Quintas
6bd7b97dc6
DONE!!1one
2016-01-27 19:21:12 -08:00
David Garcia Quintas
6a48405ed0
pre sync_stream.cc creation. Does not compile
2016-01-25 19:12:37 -08:00
David Garcia Quintas
a701ed7759
Merge branch 'proto_interfaces' into yang-g-sync_async_mix
2016-01-19 18:44:47 -08:00
David Garcia Quintas
44f3249018
Introduced ServerInterface
2016-01-15 16:49:16 -08:00
yang-g
f48766d347
fix copyright
2016-01-15 11:26:31 -08:00
yang-g
0bbc87f599
Add generic support
2016-01-15 09:22:50 -08:00
David Garcia Quintas
e50c6c2f5e
WIP. Added ChannelInterface
2016-01-13 16:02:00 -08:00
yang-g
bef0d8744e
Support sync/async methods in the same service
2016-01-13 15:27:33 -08:00
Craig Tiller
15f383c6cc
Exploratory refactoring for mixed sync/async methods on the same C++ service
2016-01-07 12:45:32 -08:00
Vijay Pai
7f715707aa
Some changes required to make C++ code generator plugin work fine for
...
external code compiled under gcc-4.4 : eliminate use of nullptr, primarily.
2015-10-12 22:47:58 +00:00
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
2015-08-21 15:49:35 -07:00
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00
yang-g
ef00308e39
remove internal_stub
2015-08-20 11:40:51 -07:00
yang-g
431f8c2b5f
make registermethod private
2015-08-20 10:59:29 -07:00
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
2015-08-19 16:28:09 -07:00
yang-g
297a25b0cf
Add StubOptions
2015-08-03 16:43:46 -07:00
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
Nicolas "Pixel" Noble
b14fbf7804
Flagging unused parameters as unused.
2015-06-10 23:49:23 +02:00
Craig Tiller
ce40de58da
clang-format
2015-06-05 07:14:58 -07:00
Craig Tiller
50a7a68ca2
Progress commit on fixing up C++
2015-06-04 12:53:40 -07:00
Jan Tattermusch
5dcebd9015
make sure printers are properly flushed
2015-05-27 15:31:52 -07:00
Yang Gao
a468c36601
Merge pull request #1493 from ctiller/churn-churn-churn-the-api-gently-down-the-stream
...
Completion queue binding for new requests API change
2015-05-12 12:37:24 -07:00
Yang Gao
903810191e
Merge pull request #1494 from ctiller/the-churnening
...
Lose redundant tag on unary calls
2015-05-11 11:27:02 -07:00
Craig Tiller
020ae63171
Fix clang compilation
2015-05-08 16:48:28 -07:00
Craig Tiller
6979b00624
Fix clang compilation
2015-05-08 16:38:42 -07:00
Craig Tiller
5f871ac225
Merge github.com:grpc/grpc into the-churnening
2015-05-08 13:05:51 -07:00
Craig Tiller
2be6095c10
Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
2015-05-08 08:37:41 -07:00
Craig Tiller
3676b38183
Lose redundant tag on unary calls
2015-05-06 13:01:05 -07:00
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.
2015-05-06 11:45:59 -07:00
Yang Gao
691ff71da5
Merge remote-tracking branch 'upstream/master' into mock
2015-05-05 13:31:40 -07:00
Yang Gao
c6924c8e99
Add full codegen for clientside stub interface
2015-05-05 10:42:51 -07:00
Nicolas "Pixel" Noble
99076fe593
Fixing generated code under Windows.
...
By the standard, std::function can only capture class functions, and not
class methods. For some reasons, this works under gcc however. Visual
Studio rejects it. std::mem_fn is proper template to use.
2015-05-02 01:07:10 -07:00
Yang Gao
72e0fb8341
generate a StubInterface
2015-05-01 16:24:07 -07:00
Craig Tiller
277d3cff7e
clang-format
2015-04-16 09:30:01 -07:00
Craig Tiller
3beef68d39
Populate channel tags for methods
2015-04-16 09:29:17 -07:00
Craig Tiller
bd6c61860a
Precreate RpcMethod instances
2015-04-16 09:29:17 -07:00
Yang Gao
1dc1a4336b
When the proto file does not contain a package, do not generate namespace
2015-04-10 13:53:11 -07:00
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
2015-04-09 23:08:51 +02:00
Nicolas "Pixel" Noble
375a82b35c
Adding the ability to specify a service namespace on protoc's command line.
...
Usage example: protoc ... --grpc_out=services_namespace=xyz:./path/to/output/dir ...
This is difficult to add a test for this without significantly changing all of the examples, or the build system. However this has been successfully tested locally.
2015-03-24 02:35:05 +01:00
Nicolas Noble
d446eb86fa
Adding initial support for alternative protobuf libraries.
2015-03-13 02:03:01 +01:00
vjpai
1b47b12895
Merge remote-tracking branch 'upstream/master'
2015-02-26 23:16:25 -08:00
Todd Poynor
2a6fd26c45
grpc: cpp_generator: fix pedantic warning on extra ';'
...
Fix pedantic warnings of form:
myprotobuf.pb.cc:619:2: warning: extra ';' [-Wpedantic]
};
^
2015-02-26 20:06:21 -08:00
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
2015-02-26 17:01:35 -08:00
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
2015-02-26 14:27:05 -08:00
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
2015-02-23 12:53:39 -08:00
Craig Tiller
2627e4e0a9
Merge with async unary changes
2015-02-18 15:54:14 -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