# 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
