$serviceProcessorMap_
$serviceProcessorMap_ :
<code>TMultiplexedProcessor</code> is a Processor allowing a single <code>TServer</code> to provide multiple services.
To do so, you instantiate the processor and then register additional processors with it, as shown in the following example:
$processor = new TMultiplexedProcessor();
processor->registerProcessor(
"Calculator",
new \tutorial\CalculatorProcessor(new CalculatorHandler()));
processor->registerProcessor(
"WeatherReport",
new \tutorial\WeatherReportProcessor(new WeatherReportHandler()));
$processor->process($protocol, $protocol);
process(\Thrift\Protocol\TProtocol $input, \Thrift\Protocol\TProtocol $output)
This implementation of <code>process</code> performs the following steps:
| \Thrift\Protocol\TProtocol | $input | |
| \Thrift\Protocol\TProtocol | $output |
If the message type is not CALL or ONEWAY, if the service name was not found in the message, or if the service name was not found in the service map.