Aldo Armiento created THRIFT-2425:
-------------------------------------
Summary: PHP: Server-side support for Multiplexing Services
Key: THRIFT-2425
URL: https://issues.apache.org/jira/browse/THRIFT-2425
Project: Thrift
Issue Type: Sub-task
Components: PHP - Library
Affects Versions: 0.9.1
Reporter: Aldo Armiento
Priority: Minor
Fix For: 0.9.2
Attached patch contains implementation of TMultiplexedProcessor for PHP Thrift
client that used TProtocolDecorator (the same approach from Java client).
Example:
{code:xml}
$processor = new TMultiplexedProcessor();
processor->registerProcessor(
"Calculator",
new \tutorial\CalculatorProcessor(new CalculatorHandler()));
processor->registerProcessor(
"WeatherReport",
new \tutorial\WeatherReportProcessor(new WeatherReportHandler()));
$processor->process($protocol, $protocol);
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)