Class t.m.t.Shell(telnet.Telnet):

Part of twisted.manhole.telnet View Source View In Hierarchy

A Python command-line shell.
Method connectionMade I will write a welcomeMessage and loginPrompt to the client.
Method loggedIn Called after the user succesfully logged in.
Method checkUserAndPass Undocumented
Method write Write some data to the transport.
Method telnet_Command The default 'command processing' mode. You probably want to
Method doCommand Undocumented

Inherited from Telnet:

Method welcomeMessage Override me to return a string which will be sent to the client
Method loginPrompt Override me to return a 'login:'-type prompt.
Method iacSBchunk Undocumented
Method iac_DO Undocumented
Method iac_DONT Undocumented
Method iac_WILL Undocumented
Method iac_WONT Undocumented
Method iac_IP Undocumented
Method processLine I call a method that looks like 'telnet_*' where '*' is filled
Method telnet_User I take a username, set it to the 'self.username' attribute,
Method telnet_Password I accept a password as an argument, and check it with the
Method processChunk I take a chunk of data and delegate out to telnet_* methods
Method dataReceived Called whenever data is received.

Inherited from Protocol (via Telnet):

Method connectionLost Called when the connection is shut down.

Inherited from BaseProtocol (via Telnet, Protocol):

Method makeConnection Make a connection to a transport and a server.
def connectionMade(self): (source)
I will write a welcomeMessage and loginPrompt to the client.
def loggedIn(self): (source)

Called after the user succesfully logged in.

Override in subclasses.
def checkUserAndPass(self, username, password): (source)
Undocumented
def write(self, data): (source)
Write some data to the transport.
def telnet_Command(self, cmd): (source)
The default 'command processing' mode. You probably want to override me.
def doCommand(self, cmd): (source)
Undocumented
API Documentation for twisted, generated by pydoctor.