grpc 1.0.0.pre1 → 1.0.0.pre2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of grpc might be problematic. Click here for more details.

Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +1 -37
  3. data/include/grpc/impl/codegen/compression_types.h +16 -1
  4. data/include/grpc/impl/codegen/grpc_types.h +23 -15
  5. data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c +4 -2
  6. data/src/core/ext/transport/chttp2/transport/chttp2_plugin.c +3 -0
  7. data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +305 -64
  8. data/src/core/ext/transport/chttp2/transport/internal.h +46 -19
  9. data/src/core/ext/transport/chttp2/transport/parsing.c +6 -5
  10. data/src/core/ext/transport/chttp2/transport/stream_lists.c +11 -9
  11. data/src/core/ext/transport/chttp2/transport/writing.c +13 -3
  12. data/src/core/lib/iomgr/endpoint.c +4 -0
  13. data/src/core/lib/iomgr/endpoint.h +4 -0
  14. data/src/core/lib/iomgr/ev_epoll_linux.c +161 -116
  15. data/src/core/lib/iomgr/ev_poll_and_epoll_posix.c +3 -0
  16. data/src/core/lib/iomgr/ev_poll_posix.c +3 -0
  17. data/src/core/lib/iomgr/ev_posix.c +4 -0
  18. data/src/core/lib/iomgr/ev_posix.h +4 -0
  19. data/src/core/lib/iomgr/exec_ctx.c +7 -3
  20. data/src/core/lib/iomgr/exec_ctx.h +5 -1
  21. data/src/core/lib/iomgr/iomgr.c +3 -0
  22. data/src/core/lib/iomgr/network_status_tracker.c +9 -6
  23. data/src/core/lib/iomgr/network_status_tracker.h +4 -0
  24. data/src/core/lib/iomgr/tcp_posix.c +14 -4
  25. data/src/core/lib/iomgr/tcp_server_posix.c +2 -1
  26. data/src/core/lib/iomgr/tcp_windows.c +10 -3
  27. data/src/core/lib/iomgr/workqueue.h +25 -14
  28. data/src/core/lib/iomgr/workqueue_posix.c +1 -7
  29. data/src/core/lib/iomgr/workqueue_posix.h +5 -0
  30. data/src/core/lib/iomgr/workqueue_windows.c +22 -0
  31. data/src/core/lib/security/transport/secure_endpoint.c +13 -5
  32. data/src/core/lib/support/log.c +10 -9
  33. data/src/core/lib/surface/server.c +45 -31
  34. data/src/core/lib/surface/version.c +1 -1
  35. data/src/core/lib/transport/connectivity_state.c +3 -0
  36. data/src/ruby/bin/math_client.rb +1 -1
  37. data/src/ruby/bin/{math.rb → math_pb.rb} +0 -0
  38. data/src/ruby/bin/math_server.rb +1 -1
  39. data/src/ruby/bin/{math_services.rb → math_services_pb.rb} +4 -4
  40. data/src/ruby/lib/grpc/version.rb +1 -1
  41. data/src/ruby/pb/grpc/health/checker.rb +1 -1
  42. data/src/ruby/pb/grpc/health/v1/{health.rb → health_pb.rb} +0 -0
  43. data/src/ruby/pb/grpc/health/v1/{health_services.rb → health_services_pb.rb} +1 -1
  44. data/src/ruby/pb/grpc/testing/duplicate/{echo_duplicate_services.rb → echo_duplicate_services_pb.rb} +2 -2
  45. data/src/ruby/pb/grpc/testing/{metrics.rb → metrics_pb.rb} +1 -1
  46. data/src/ruby/pb/grpc/testing/{metrics_services.rb → metrics_services_pb.rb} +2 -2
  47. data/src/ruby/pb/src/proto/grpc/testing/{empty.rb → empty_pb.rb} +0 -0
  48. data/src/ruby/pb/src/proto/grpc/testing/{messages.rb → messages_pb.rb} +8 -10
  49. data/src/ruby/pb/src/proto/grpc/testing/{test.rb → test_pb.rb} +2 -2
  50. data/src/ruby/pb/src/proto/grpc/testing/{test_services.rb → test_services_pb.rb} +1 -1
  51. data/src/ruby/pb/test/client.rb +3 -3
  52. data/src/ruby/pb/test/server.rb +3 -3
  53. data/src/ruby/spec/pb/duplicate/codegen_spec.rb +2 -2
  54. data/src/ruby/spec/pb/health/checker_spec.rb +4 -4
  55. metadata +15 -19
  56. data/src/ruby/pb/test/proto/empty.rb +0 -15
  57. data/src/ruby/pb/test/proto/messages.rb +0 -80
  58. data/src/ruby/pb/test/proto/test.rb +0 -14
  59. data/src/ruby/pb/test/proto/test_services.rb +0 -64
@@ -1,14 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: test/proto/test.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'test/proto/empty'
7
- require 'test/proto/messages'
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- end
10
-
11
- module Grpc
12
- module Testing
13
- end
14
- end
@@ -1,64 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: test/proto/test.proto for package 'grpc.testing'
3
-
4
- require 'grpc'
5
- require 'test/proto/test'
6
-
7
- module Grpc
8
- module Testing
9
- module TestService
10
-
11
- # TODO: add proto service documentation here
12
- class Service
13
-
14
- include GRPC::GenericService
15
-
16
- self.marshal_class_method = :encode
17
- self.unmarshal_class_method = :decode
18
- self.service_name = 'grpc.testing.TestService'
19
-
20
- rpc :EmptyCall, Empty, Empty
21
- rpc :UnaryCall, SimpleRequest, SimpleResponse
22
- rpc :StreamingOutputCall, StreamingOutputCallRequest, stream(StreamingOutputCallResponse)
23
- rpc :StreamingInputCall, stream(StreamingInputCallRequest), StreamingInputCallResponse
24
- rpc :FullDuplexCall, stream(StreamingOutputCallRequest), stream(StreamingOutputCallResponse)
25
- rpc :HalfDuplexCall, stream(StreamingOutputCallRequest), stream(StreamingOutputCallResponse)
26
- end
27
-
28
- Stub = Service.rpc_stub_class
29
- end
30
- module UnimplementedService
31
-
32
- # TODO: add proto service documentation here
33
- class Service
34
-
35
- include GRPC::GenericService
36
-
37
- self.marshal_class_method = :encode
38
- self.unmarshal_class_method = :decode
39
- self.service_name = 'grpc.testing.UnimplementedService'
40
-
41
- rpc :UnimplementedCall, Empty, Empty
42
- end
43
-
44
- Stub = Service.rpc_stub_class
45
- end
46
- module ReconnectService
47
-
48
- # TODO: add proto service documentation here
49
- class Service
50
-
51
- include GRPC::GenericService
52
-
53
- self.marshal_class_method = :encode
54
- self.unmarshal_class_method = :decode
55
- self.service_name = 'grpc.testing.ReconnectService'
56
-
57
- rpc :Start, Empty, Empty
58
- rpc :Stop, Empty, ReconnectInfo
59
- end
60
-
61
- Stub = Service.rpc_stub_class
62
- end
63
- end
64
- end