[
https://issues.apache.org/jira/browse/THRIFT-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664926#action_12664926
]
Dan Di Spaltro commented on THRIFT-148:
---------------------------------------
Sure, I have one service (BaseService) which I extend with another class
(SpecificService). Next thing I do is implement the handler for
SpecificService and add the line zope.interface.implement(SpecificService) to
the class. Zope complains about not being able to convert a class to the
expected type, although I have no real zope experience I think it is expecting
a different class, which in this case happens to be the BaseService. So the
handler runs fine if I inherit from BaseService.IHandler or add the line
zope.interface.implements(BaseService.Iface). Like I said I am not very
familiar with this stuff, but am trying to use it. I can scrap together an
example if I am not being clear enough
> Add support for Twisted
> -----------------------
>
> Key: THRIFT-148
> URL: https://issues.apache.org/jira/browse/THRIFT-148
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (Python), Library (Python)
> Reporter: Esteve Fernandez
> Attachments: client.py, server.py, thrift-148_v2_20081115.patch,
> thrift-148_v3.1_20081116.patch, thrift-148_v3_20081230.patch, txthrift.patch
>
>
> This patch adds support for Twisted in both the compiler and the Python
> library. Also attached are a client and a server based on the calculator
> example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.