Home | Trees | Index | Help |
---|
Package twisted :: Package manhole :: Module telnet :: Class Shell |
|
BaseProtocol
--+ |Protocol
--+ |Telnet
--+ | Shell
Method Summary | |
---|---|
checkUserAndPass(self,
username,
password)
| |
(Deprecated) (inherited from Protocol )
| |
Called when the connection is shut down. (inherited from Protocol )
| |
I will write a welcomeMessage and loginPrompt to the client. | |
Called whenever data is received. (inherited from Telnet )
| |
doCommand(self,
cmd)
| |
iac_DO(self,
feature)
(inherited from Telnet )
| |
iac_DONT(self,
feature)
(inherited from Telnet )
| |
iac_IP(self,
feature)
(inherited from Telnet )
| |
iac_WILL(self,
feature)
(inherited from Telnet )
| |
iac_WONT(self,
feature)
(inherited from Telnet )
| |
iacSBchunk(self,
chunk)
(inherited from Telnet )
| |
Called after the user succesfully logged in. | |
Override me to return a 'login:'-type prompt. (inherited from Telnet )
| |
Make a connection to a transport and a server. (inherited from BaseProtocol )
| |
I take a chunk of data and delegate out to telnet_* methods by way of processLine. (inherited from Telnet )
| |
I call a method that looks like 'telnet_*' where '*' is filled in by the current mode. (inherited from Telnet )
| |
The default 'command processing' mode. | |
I accept a password as an argument, and check it with the checkUserAndPass method. (inherited from Telnet )
| |
I take a username, set it to the 'self.username' attribute, print out a password prompt, and switch to 'Password' mode. (inherited from Telnet )
| |
Override me to return a string which will be sent to the client before login. (inherited from Telnet )
| |
Write some data to the transport. |
Method Details |
---|
connectionMade(self)I will write a welcomeMessage and loginPrompt to the client.
|
loggedIn(self)Called after the user succesfully logged in. Override in subclasses.
|
telnet_Command(self, cmd)The default 'command processing' mode. You probably want to override me.
|
write(self, data)Write some data to the transport. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:48:20 2003 | http://epydoc.sf.net |