Sha256: 62c17d0fb983c67502acf34323a7279a1e7b8320639c9673088819e98ca148ab

Contents?: true

Size: 598 Bytes

Versions: 40

Compression:

Stored size: 598 Bytes

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: math.proto for package 'math'

require 'grpc'
require 'math'

module Math
  module Math

    # TODO: add proto service documentation here
    class Service

      include GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'math.Math'

      rpc :Div, DivArgs, DivReply
      rpc :DivMany, stream(DivArgs), stream(DivReply)
      rpc :Fib, FibArgs, stream(Num)
      rpc :Sum, stream(Num), Num
    end

    Stub = Service.rpc_stub_class
  end
end

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
grpc-0.14.1-x86-mingw32 src/ruby/bin/math_services.rb
grpc-0.14.1-x86-linux src/ruby/bin/math_services.rb
grpc-0.14.1-x86_64-linux src/ruby/bin/math_services.rb
grpc-0.14.1-x64-mingw32 src/ruby/bin/math_services.rb
grpc-0.14.1-universal-darwin src/ruby/bin/math_services.rb
grpc-0.14.1 src/ruby/bin/math_services.rb
grpc-0.14.1.pre1-x86-mingw32 src/ruby/bin/math_services.rb
grpc-0.14.1.pre1-x86-linux src/ruby/bin/math_services.rb
grpc-0.14.1.pre1-x86_64-linux src/ruby/bin/math_services.rb
grpc-0.14.1.pre1-x64-mingw32 src/ruby/bin/math_services.rb
grpc-0.14.1.pre1-universal-darwin src/ruby/bin/math_services.rb
grpc-0.14.1.pre1 src/ruby/bin/math_services.rb
grpc-0.13.1-universal-darwin src/ruby/bin/math_services.rb
grpc-0.13.1-x86-mingw32 src/ruby/bin/math_services.rb
grpc-0.13.1-x86-linux src/ruby/bin/math_services.rb
grpc-0.13.1-x86_64-linux src/ruby/bin/math_services.rb
grpc-0.13.1-x64-mingw32 src/ruby/bin/math_services.rb
grpc-0.13.1 src/ruby/bin/math_services.rb
grpc-0.13.1.pre1-x86-mingw32 src/ruby/bin/math_services.rb
grpc-0.13.1.pre1-x86-linux src/ruby/bin/math_services.rb