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

PHP: Server-side support for Multiplexing Services

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: PHP - Library
    • Labels:
    • Patch Info:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: