Trees | Indices | Help |
|
---|
|
twisted.internet.protocol.BaseProtocol --+ | twisted.internet.protocol.Protocol --+ | twisted.conch.telnet.Telnet --+ | TelnetClientProtocol
State-machine-based class for telnet
To switch from one state to the next, methods return the next state.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
string |
|
||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Called when a telnet session is established
|
Do we support this telnet feature? Reply back appropriately.
|
Do we support this telnet feature? Reply back appropriately.
|
Do we support this telnet feature? Reply back appropriately.
|
Do we support this telnet feature? Reply back appropriately.
|
Respond to IAC request with our response
|
Write data across the wire and record it.
|
Given data returned from the remote device, test out the current chunk of data to determine whether or not to switch states, or just add the chunk to the list of data received from the host. If we find the end condition for the state, process the line.
|
Call a method that looks like 'telnet_*' where '*' is filled in by the current mode. telnet_* methods should return a string which will become the new mode.
|
Look for data and send to processLine()
|
Store any bytes received
|
Start a timer to decide if we continue or not.
|
Called when the timeout timer expires.
|
Called when login prompt is expected
|
Called when the password prompt is expected
|
Switch to 'enable' mode on a Cisco device
|
Called when the enable password prompt is expected
|
Called after login to figure out the command prompt
|
Called to try to restore sanity to output from the user. Send an empty string to get back a prompt
|
Get a command of the command stack and send it
|
Process the data from a sent command If there are no more commands move to final state
|
Return the current command to run
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1.1812 on Mon Jul 30 17:10:55 2012 | http://epydoc.sourceforge.net |