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

Cocoa generator improvements (service inheritance / server-side exception handling) and an implementation of the Thrift tutorial

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      Cocoa generator improvements relating to

      • Server-side exception handling in the actual TProcessor implementation for the service
      • Better handling of service inheritance
        • Service clients can now use the client subclass directly to invoke calls to the base service
        • Servers must only adopt the child protocol and will automatically adopt the base protocol over inheritance
        • The improvement should not break any existing service implementations
          • See the revisions for the implemented cocoa tutorial for instance
      • For a better overview of the resulting gen-files after the improvements see the attached diff file

      An implementation for the Thrift tutorial

      • Server and client implementation based on the corresponding Python version
      • Update relating to the improved handling of service inheritance

      Attachments

        Activity

          People

            jking3 James E. King III
            drobakowski David Robakowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: