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

Allow services as parameters

    XMLWordPrintableJSON

Details

    • Brainstorming
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Wish List

    Description

      What about allowing services as parameters to thrift methods? This would be useful for returning interim results, logging and probably other use cases.

      At first I thought, nah that can't work, but I thought about it more and it seems maybe it could. Though I know little of Thrift's internals.

      When the service parameter was serialized only its connection information would be sent. Additional data may need to be provided to the service (true host name etc.) That would be fine with me.

      It seems like both sides should have most of the features they need for this. It would probably be a requirement that the service was started, bound etc before being passed a a parameter.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wayne.rasmuss Wayne Rasmuss
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: