Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1915 Multiplexing Services
  3. THRIFT-2425

PHP: Server-side support for Multiplexing Services

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • PHP - Library
    • Patch Available

    Description

      Attached patch contains implementation of TMultiplexedProcessor for PHP Thrift server that used TProtocolDecorator (the same approach from Java server).
      Example:

      $processor = new TMultiplexedProcessor();
      
      processor->registerProcessor(
          "Calculator",
          new \tutorial\CalculatorProcessor(new CalculatorHandler()));
      
      processor->registerProcessor(
          "WeatherReport",
          new \tutorial\WeatherReportProcessor(new WeatherReportHandler()));
      
      $processor->process($protocol, $protocol);
      

      Attachments

        1. patch.diff
          5 kB
          Aldo Armiento

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jensg Jens Geyer
            duccio Aldo Armiento
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment