Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.1
-
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
Attachments
Issue Links
- relates to
-
THRIFT-2310 PHP: Client-side support for Multiplexing Services
- Closed