| Index: third_party/grpc/examples/ruby/lib/route_guide_services.rb
|
| diff --git a/third_party/grpc/examples/ruby/lib/route_guide_services.rb b/third_party/grpc/examples/ruby/lib/route_guide_services.rb
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..082daef7543f5922c83bb14a30bd088acf6e4ecc
|
| --- /dev/null
|
| +++ b/third_party/grpc/examples/ruby/lib/route_guide_services.rb
|
| @@ -0,0 +1,27 @@
|
| +# Generated by the protocol buffer compiler. DO NOT EDIT!
|
| +# Source: route_guide.proto for package 'routeguide'
|
| +
|
| +require 'grpc'
|
| +require 'route_guide'
|
| +
|
| +module Routeguide
|
| + module RouteGuide
|
| +
|
| + # TODO: add proto service documentation here
|
| + class Service
|
| +
|
| + include GRPC::GenericService
|
| +
|
| + self.marshal_class_method = :encode
|
| + self.unmarshal_class_method = :decode
|
| + self.service_name = 'routeguide.RouteGuide'
|
| +
|
| + rpc :GetFeature, Point, Feature
|
| + rpc :ListFeatures, Rectangle, stream(Feature)
|
| + rpc :RecordRoute, stream(Point), RouteSummary
|
| + rpc :RouteChat, stream(RouteNote), stream(RouteNote)
|
| + end
|
| +
|
| + Stub = Service.rpc_stub_class
|
| + end
|
| +end
|
|
|