Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Ubuntu 12.04
Description
I just started working with the github hosted build of apache thrift, I am basically interested in a java client and PHP server implementation, but for now i am using the php server and client only
namespace php mobiledata struct sms { 1: string from, 2: string to, 3: string smstext, 4: string smsdatetime, 5: string smsdirection } struct smsdetails { 1: list<sms> smsdata } service mobiledataservice { void insertsmsdata (1: smsdetails smslist) }
And I generated the gen-php folder, which has got Types.php and mobiledataservice.php
the basic sample that comes with the github for php as server shows a line of code
$handler = new CalculatorHandler(); $processor = new \tutorial\CalculatorProcessor($handler);
I can't find this class "CalculatorProcessor" and certainly I don't have a comparative class generated in my gen_php like mobiledataprocessor, and it baffles me as to how I would run my server in absence of processor.
I have been confirmed on stack overflow that its indeed a bug http://stackoverflow.com/questions/23514821/where-is-the-tutorial-processor-generated?noredirect=1#comment36072216_23514821
Attachments
Issue Links
- is duplicated by
-
THRIFT-2519 "processor" class is not being generated
- Closed