[Twisted-Python] How can I mix the proxy function into a special protocol
slowtech.chen at yahoo.com
Mon Jan 15 21:17:09 MST 2007
I tried to do this with multiple inheritances:
class MyProxyServer(basic.Int32StringReceiver, ProxyServer):
def dataReceived(self, data):
but I got the following errors:
exceptions.AttributeError: 'NoneType' object has no attribute 'transport'
why the setPeer method of ProxyServer isn't called here? Are there any better solutions for this problem?
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python