Sree Kuchibhotla
4fb590852f
Use the same completion queue for both client and server
9 years ago
Sree Kuchibhotla
944f4cf14e
Sync server end2end and async_end2end tests
9 years ago
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
9 years ago
Sree Kuchibhotla
5a05f51a1c
Rename TestService to EchoTestService to prevent name-conflict with
...
'TestService' in test.proto
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Craig Tiller
15f383c6cc
Exploratory refactoring for mixed sync/async methods on the same C++ service
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
9 years ago
Craig Tiller
620e965c1b
clang-format after last weeks test-fest
9 years ago
vjpai
017ed62ce4
Cover an unsupported case of mixing sync and async service in same server
9 years ago
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
9 years ago
Nicolas "Pixel" Noble
7fa51677bc
Removing pessimizing moves.
...
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
9 years ago
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
yang-g
730055d962
implementation fix
9 years ago
yang-g
e21908fcee
impl
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
9 years ago
Craig Tiller
4c06b820e0
Add a test of non-blocking API behavior
...
... also fix things that were broken :)
9 years ago
Craig Tiller
69f90e6382
Working towards a non-blocking API test
9 years ago
yang-g
b335256444
Add AsyncNotifyWhenDone
9 years ago
Craig Tiller
8bf2dcab4e
Make tests a little more robust
10 years ago
Yang Gao
c1a2c314fb
Update the Status API
10 years ago
Craig Tiller
06cf3cc607
Fix async end2end to poll all fds from the main thread
10 years ago
Craig Tiller
f51199f2b9
Increase test timeout
10 years ago
Craig Tiller
fb775b80cb
Fix test
10 years ago
Craig Tiller
3676b38183
Lose redundant tag on unary calls
10 years ago
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.
10 years ago
zeliard
3e3e0ad348
merge from upstream (grpc) master
10 years ago
Yang Gao
c4b6ffb1b6
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
10 years ago
Nicolas "Pixel" Noble
0caebbfcfe
Splitting gRPC service class codegen into its own set of files.
10 years ago
Nicolas "Pixel" Noble
a05b8b7b25
Removing a few more references to #include <chrono>
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
Vijay Pai
92a928fa68
Make string construction explicit as implicit conversion doesn't work in 4.4
10 years ago
Yang Gao
16c78c922c
Clean up unneeded includes and remove shutdown protobuf library
10 years ago
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.
10 years ago
Yang Gao
757afaeb30
clang-format new changes
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
vjpai
7aadf46fdb
Change to std::chrono and add a test.
10 years ago
Vijay Pai
64ac47f389
clang-format all these files
10 years ago
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
e4fe844b67
s/CreateChannel/CreateChannelDeprecated
...
For the 2-argument version of CreateChannel.
This is a temporary step until #711 is ready to roll out.
10 years ago
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
10 years ago
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
10 years ago
Craig Tiller
47c83fdaf7
Credentials prototyping
...
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
10 years ago
vjpai
d5577aac67
More typecasts to avoid sign-comparison problems on EXPECT_EQ
10 years ago