Commit Graph

134 Commits

Author SHA1 Message Date
Sree Kuchibhotla bb5519f5a5 More changes 2016-07-19 11:00:39 -07:00
yang-g 6ec11f2acd prevent spurious wake up and unstarted/already shutdown server 2016-07-14 14:53:35 -07:00
yang-g e89dc6ceb6 Make Server::Wait work for async only server. 2016-07-11 15:48:01 -07:00
Adam Michalik b97e2d145e Add C++ support for using external FD 2016-06-07 15:09:19 -07:00
Yuchen Zeng a42ec21341 Server builder plugin 2016-04-29 13:05:36 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
David Garcia Quintas 60ee8dd2fc docstrings 2016-03-08 17:21:42 -08:00
yang-g eb62c94338 Add a way to override channel arguments for server creation 2016-02-17 15:37:25 -08:00
David Garcia Quintas b4e51b52bd Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-27 19:57:58 -08:00
David Garcia Quintas e1300deb87 After GrpcLibrary refactoring. Compiles and passes. WIP still 2016-01-27 18:41:26 -08:00
Craig Tiller 17b5047e46 Fix copyrights 2016-01-27 08:53:35 -08:00
Craig Tiller 64616496e2 Alternative ownership for global callbacks 2016-01-26 14:16:20 -08:00
David Garcia Quintas f3ddb7c55a clang-format 2016-01-20 16:02:22 -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 1f4e72c19c override -> GRPC_OVERRIDE 2016-01-19 14:45:32 -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
Craig Tiller 15f383c6cc Exploratory refactoring for mixed sync/async methods on the same C++ service 2016-01-07 12:45:32 -08:00
Craig Tiller 35c1d3c462 Merge pull request #4207 from yang-g/server_builder_options
Server builder options
2015-12-03 11:39:44 -08:00
Craig Tiller 8352b9e997 Review feedback 2015-12-02 11:43:40 -08:00
yang-g a23f17b123 add server_builder_option 2015-11-25 10:21:05 -08:00
Craig Tiller 7221d999bb Global hook for doing something in response to a synchronous server call 2015-11-24 06:59:33 -08:00
Craig Tiller ddf3a511aa Add clang-format to sanity 2015-09-24 13:03:44 -07:00
David Garcia Quintas 49dd250565 Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding 2015-09-08 16:01:09 -07:00
Craig Tiller d6599a39e4 Replicate C++ docs from master to beta branch
Original PR #3074 by @dgquintas
2015-09-03 09:37:02 -07:00
Julien Boeuf 0d47192afa Fixing headers and paths after merge with upstream. 2015-08-30 22:18:50 -07:00
yang-g 3e4bd9598b merge with head 2015-08-24 15:54:07 -07:00
David Garcia Quintas e4f7c2fd13 Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding 2015-08-24 15:31:59 -07:00
David Garcia Quintas c43648f250 Merge branch 'master' of github.com:grpc/grpc into compression-accept-encoding 2015-08-24 12:08:38 -07:00
Craig Tiller b7e22b9686 Merge github.com:grpc/grpc into y12kdm3 2015-08-21 16:06:30 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
Craig Tiller 9374ce819b Add comments, fix a subtle bug 2015-08-19 10:15:44 -07:00
Craig Tiller 5c6e6276be Merge github.com:grpc/grpc into shutdown-c++ 2015-08-18 12:45:09 -07:00
Craig Tiller e50e5cbde2 Add a timeout to shutdown to forcefully end calls 2015-08-18 12:44:57 -07:00
Craig Tiller d6c98df792 clang-format all source 2015-08-18 09:33:44 -07:00
Craig Tiller 8f7bff7d48 Merge github.com:grpc/grpc into y12kdm3 2015-08-17 13:23:14 -07:00
yang-g 9b7757dd35 Use a sync service to handle requests to unknown services 2015-08-13 11:15:53 -07:00
David Garcia Quintas beac88ca56 Server: added the ability to disable compression algorithm 2015-08-10 15:08:41 -07:00
Craig Tiller 822d2c7beb Support registering services against specific hosts 2015-07-07 16:08:00 -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
Craig Tiller 2f4a49c8d3 Fix memory leak 2015-06-05 09:36:52 -07:00
Craig Tiller 5095581cdb Get server call tags right 2015-06-05 08:03:17 -07:00
Craig Tiller ce40de58da clang-format 2015-06-05 07:14:58 -07:00
Craig Tiller 7bc97bc6de Everything compiles again 2015-06-04 17:22:54 -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 bce999f57f Refine shutdown API 2015-05-27 09:55:51 -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 3921c56bee Expose max message size at the server side 2015-04-30 16:07:06 -07:00
Nicolas Noble 3086203834 Few VS2010 fixes.
-) = delete isn't supported. Moving destructor out of scope.
-) variadic templates aren't supported. Replacing emplace_back's construction.
-) C++11's {} inline construction isn't supported. Adding temporary variables.
-) std::list<> can't work on a non-declared class. Changing to a raw pointer.
2015-04-28 00:27:30 +02:00
Yang Gao c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Nicolas "Pixel" Noble ff2828be3d Rewriting mutex, condition_variable, and thread. 2015-04-04 02:06:13 +02:00
Nicolas "Pixel" Noble ae96ae2bad Starting off by removing all offending headers. 2015-04-03 00:29:15 +02:00
Nicolas Noble cfd6073a66 Various Windows fixes.
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
2015-03-19 04:21:22 +01:00
Yang Gao 1ad253d137 expose the server's cq through the generic service object 2015-03-16 13:11:29 -07:00
Yang Gao 4999649653 Rename to AsyncGeneric* 2015-03-12 16:40:19 -07:00
Yang Gao 005eb88c45 Rename anonymous to generic globally 2015-03-11 22:17:13 -07:00
Yang Gao 0fd94409a0 Expose server cq for polling incoming anonymous rpcs 2015-03-11 00:10:10 -07:00
Yang Gao fccea1f70e merge with upstream and resolve conflict 2015-03-10 13:17:39 -07:00
Chilledheart 4be94b9541 Add missing GRPC_OVERRIDE, NFC
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
2015-03-10 00:46:10 +08:00
Yang Gao 1c40233814 first sets of changes, it builds 2015-03-05 16:39:25 -08:00
Craig Tiller e7460e87d3 Merge github.com:grpc/grpc into credit 2015-03-03 13:48:40 -08:00
Yang Gao 7694c35d5f Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed 2015-03-03 09:48:06 -08:00
Craig Tiller 61691f92c3 Merge github.com:grpc/grpc into credit 2015-03-02 08:51:52 -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 7c0f33dea9 Merge github.com:grpc/grpc into credit 2015-02-24 17:02:07 -08:00
Craig Tiller 6e57b9edb1 Add Server.Wait 2015-02-24 15:46:22 -08:00
Craig Tiller 42bc87c097 Update C++ server with new core API
And reflects the C++ API in ServerBuilder.
2015-02-23 09:58:23 -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 573523f127 clang-format 2015-02-17 07:38:26 -08:00
Craig Tiller 1c9a2a91ca Async API progress 2015-02-12 14:10:25 -08:00
Craig Tiller 8c8d0aa1d8 Async API progress 2015-02-12 11:38:36 -08:00
Craig Tiller bb5227fc39 Allow server to hook calls also, fix crash 2015-02-11 13:34:48 -08:00
Craig Tiller 3b29b566a2 Just use one completion queue per server for delivering completions
This simplifies (drastically) the polling story, although will slightly
complicate mixing sync & async servers - but we're not there yet.
2015-02-11 12:58:46 -08:00
Craig Tiller c416577636 Server progress 2015-02-11 10:51:04 -08:00
Craig Tiller cbd0485088 Simplify server ready for async path 2015-02-10 17:39:54 -08:00
Craig Tiller 1d2e21962e Server progress 2015-02-09 15:25:21 -08:00
Craig Tiller 0db1befae1 Progress 2015-02-09 13:47:39 -08:00
Craig Tiller c4965751a0 Starting to scratch out the API 2015-02-09 09:51:00 -08:00
yangg 9e21f7281f Add server side credentials support.
Make interop test use ssl by default.
	Change on 2014/12/08 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81619141
2014-12-08 18:50:13 -08:00
Nicolas Noble b7ebd3b8c6 Initial import. 2014-11-26 16:33:03 -08:00