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.
def __init__(self):
Undocumented
def openShell(self, transport):

Write 60 lines of data to the transport, then exit.

def closed(self):

Ignore the close of the session.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.