Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2631

c_glib: Support service inheritance in clients

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: C glib - Compiler
    • Environment:

      Fedora 20 x86_64

    • Patch Info:
      Patch Available

      Description

      Currently the compiler for c_glib doesn't fully support service inheritance (i.e. the extends keyword in service definitions) when generating a service client: It is smart enough to include the necessary header file, but not yet smart enough to

      • Make the generated client class a subclass of the parent service's client class, and
      • Omit the definition of properties inherited from the parent class.

      Once this support is added I can submit a client tutorial for c_glib that duplicates all the functionality of the C++ one.

        Attachments

          Activity

            People

            • Assignee:
              roger.meier Roger Meier
              Reporter:
              simonsouth Simon South
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: