Thrift 0.9 PHP server missing Processor
I'm writing an application that communicates by Thrift. I'm using Thrift
0.9.0 (installed via homebrew on OSX). I have a working Java server and
client, but I'm struggling to write a PHP server, as the *Processor class
isn't being generated.
The PHP documentation for Thrift is essentially absent, but I'm expecting
the *Processor class to be generated because:
The current (21c0a850) PhpServer.php in the Thrift tutorial references a
CalculatorProcessor class.
Generating the Java code for the tutorial generates a Calculator.Processor
class
When I generate the PHP code from the tutorial.thrift file (thrift -r
--gen php:namespace tutorial.thrift), however, the resulting
Calculator.php doesn't contain a CalculatorProcessor class.
Am I missing something?
No comments:
Post a Comment