[ 
https://issues.apache.org/jira/browse/THRIFT-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jake Farrell closed THRIFT-2519.
--------------------------------
    Resolution: Fixed

> "processor" class is not being generated
> ----------------------------------------
>
>                 Key: THRIFT-2519
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2519
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Compiler
>    Affects Versions: 1.0
>         Environment: Ubuntu 12.04 
>            Reporter: brijraj singh
>            Priority: Critical
>             Fix For: 0.10.0
>
>
> 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
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to