Part of twisted.conch.telnet View Source View In Hierarchy
Instance Variables | protocol | An instance of the protocol to which this transport is connected, or None before the connection is established and after it is lost. |
protocolFactory | A callable which returns protocol instances which provide ITelnetProtocol .
This will be invoked when a connection is established. It is passed
*protocolArgs and **protocolKwArgs.
| |
protocolArgs | A tuple of additional arguments to pass to protocolFactory. | |
protocolKwArgs | A dictionary of additional arguments to pass to protocolFactory. |
Method | __init__ | Undocumented |
Method | connectionMade | Called when a connection is made. |
Method | connectionLost | Called when the connection is shut down. |
Method | enableLocal | Undocumented |
Method | enableRemote | Undocumented |
Method | disableLocal | Undocumented |
Method | disableRemote | Undocumented |
Method | unhandledSubnegotiation | Called for subnegotiations for which no handler is installed. |
Method | unhandledCommand | Called for commands for which no handler is installed. |
Method | applicationDataReceived | Called with application-level data. |
Method | write | Undocumented |
Inherited from Telnet:
Method | _write | Undocumented |
Class | _OptionState | Undocumented |
Method | getOptionState | Undocumented |
Method | _do | Undocumented |
Method | _dont | Undocumented |
Method | _will | Undocumented |
Method | _wont | Undocumented |
Method | will | Indicate our willingness to enable an option. |
Method | wont | Indicate we are not willing to enable an option. |
Method | do | Undocumented |
Method | dont | Undocumented |
Method | requestNegotiation | Undocumented |
Method | dataReceived | Called whenever data is received. |
Method | commandReceived | Undocumented |
Method | negotiate | Undocumented |
Method | telnet_WILL | Undocumented |
Method | will_no_false | Undocumented |
Method | will_no_true | Undocumented |
Method | will_yes_false | Undocumented |
Method | will_yes_true | Undocumented |
Method | telnet_WONT | Undocumented |
Method | wont_no_false | Undocumented |
Method | wont_no_true | Undocumented |
Method | wont_yes_false | Undocumented |
Method | wont_yes_true | Undocumented |
Method | telnet_DO | Undocumented |
Method | do_no_false | Undocumented |
Method | do_no_true | Undocumented |
Method | do_yes_false | Undocumented |
Method | do_yes_true | Undocumented |
Method | telnet_DONT | Undocumented |
Method | dont_no_false | Undocumented |
Method | dont_no_true | Undocumented |
Method | dont_yes_false | Undocumented |
Method | dont_yes_true | Undocumented |
Inherited from BaseProtocol (via Telnet, Protocol):
Method | makeConnection | Make a connection to a transport and a server. |
Inherited from ProtocolTransportMixin:
Method | writeSequence | Undocumented |
Method | loseConnection | Undocumented |
Method | getHost | Undocumented |
Method | getPeer | Undocumented |
Called when a connection is made.
This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.Called when the connection is shut down.
Clear any circular references here, and any external references to this Protocol. The connection has been closed.Parameters | reason | (type: twisted.python.failure.Failure
) |