twisted.conch.test.test_conch.RekeyAvatar(ConchUser)
class documentationtwisted.conch.test.test_conch
(View In Hierarchy)
Implements interfaces: twisted.conch.interfaces.ISession
This avatar implements a shell which sends 60 numbered lines to whatever connects to it, then closes the session with a 0 exit status.
60 lines is selected as being enough to send more than 2kB of traffic, the amount the client is configured to initiate a rekey after.
Method | __init__ | Undocumented |
Method | openShell | Write 60 lines of data to the transport, then exit. |
Method | closed | Ignore the close of the session. |