[Twisted-Python] Getting factory with AuthenticatingTelnetProtocol
skyepn at gmail.com
Sat Feb 27 08:19:17 EST 2010
I used the code from this thread to figure out how to use
the twisted.conch.telnet.AuthenticatingTelnetProtocol class:
(with the addition of av.state = 'Command' in requestAvatar(), it works great)
However, after the handoff to the new protocol MyTelnet, self.factory
isn't set. How can I pass along the parent factory from the
AuthenticatingTelnetProtocol instance to the StatefulTelnetProtocol instance?
Sorry if this isn't phrased correctly - I'm new to Twisted.
More information about the Twisted-Python