Trees | Index | Help |
|
---|
Package twisted :: Package conch :: Module telnet :: Class Telnet |
|
BaseProtocol
--+ |Protocol
--+ | Telnet
TelnetClientProtocol
Method Summary | |
---|---|
__init__(self)
| |
Called with application-level data. | |
commandReceived(self,
command,
argument)
| |
connectionLost(self,
reason)
| |
Called whenever data is received. | |
disableLocal(self,
option)
| |
disableRemote(self,
option)
| |
do(self,
option)
| |
do_no_false(self,
state,
option)
| |
do_no_true(self,
state,
option)
| |
do_yes_false(self,
state,
option)
| |
do_yes_true(self,
state,
option)
| |
dont(self,
option)
| |
dont_no_false(self,
state,
option)
| |
dont_no_true(self,
state,
option)
| |
dont_yes_false(self,
state,
option)
| |
dont_yes_true(self,
state,
option)
| |
enableLocal(self,
option)
| |
enableRemote(self,
option)
| |
getOptionState(self,
opt)
| |
negotiate(self,
bytes)
| |
requestNegotiation(self,
about,
bytes)
| |
telnet_DO(self,
option)
| |
telnet_DONT(self,
option)
| |
telnet_WILL(self,
option)
| |
telnet_WONT(self,
option)
| |
Called for commands for which no handler is installed. | |
Called for subnegotiations for which no handler is installed. | |
Indicate our willingness to enable an option. | |
will_no_false(self,
state,
option)
| |
will_no_true(self,
state,
option)
| |
will_yes_false(self,
state,
option)
| |
will_yes_true(self,
state,
option)
| |
Indicate we are not willing to enable an option. | |
wont_no_false(self,
state,
option)
| |
wont_no_true(self,
state,
option)
| |
wont_yes_false(self,
state,
option)
| |
wont_yes_true(self,
state,
option)
| |
Instance Variable Summary | |
---|---|
commandMap : A mapping of bytes to callables. | |
negotiationMap : A mapping of bytes to callables. | |
options : A mapping of option bytes to their current state. | |
str |
state : A string indicating the current parse state. |
transport : This protocol's transport object. |
Class Variable Summary | |
---|---|
dict |
doMap = {('yes', False): <function do_yes_false at 0x39c...
|
dict |
dontMap = {('yes', False): <function dont_yes_false at 0...
|
dict |
willMap = {('yes', False): <function will_yes_false at 0...
|
dict |
wontMap = {('yes', False): <function wont_yes_false at 0...
|
Inherited from Protocol :
__implemented__ ,
__provides__
|
Method Details |
---|
applicationDataReceived(self, bytes)Called with application-level data. |
dataReceived(self, data)Called whenever data is received. Use this method to translate to a higher-level message. Usually, some callback will be made upon the receipt of each complete protocol message.
|
unhandledCommand(self, command, argument)Called for commands for which no handler is installed. |
unhandledSubnegotiation(self, command, bytes)Called for subnegotiations for which no handler is installed. |
will(self, option)Indicate our willingness to enable an option. |
wont(self, option)Indicate we are not willing to enable an option. |
Instance Variable Details |
---|
optionsA mapping of option bytes to their current state. This state is likely of little use to user code. Changes should not be made to it. |
transportThis protocol's transport object. |
Class Variable Details |
---|
doMap
|
dontMap
|
willMap
|
wontMap
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:10 2007 | http://epydoc.sf.net |