Sending data from one Protocol to another Protocol in Twisted?
        Posted  
        
            by veb
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by veb
        
        
        
        Published on 2010-04-14T02:23:19Z
        Indexed on 
            2010/04/14
            2:33 UTC
        
        
        Read the original article
        Hit count: 371
        
Hi!
One of my protocols is connected to a server, and with the output of that I'd like to send it to the other protocol.
I need to access the 'msg' method in ClassA from ClassB but I keep getting: exceptions.AttributeError: 'NoneType' object has no attribute 'write'
Actual code: http://pastebin.com/MQPhduSY
Any ideas please? :-)
© Stack Overflow or respective owner