t.c.t.TelnetProtocol(protocol.Protocol) : class documentation

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

Known subclasses: twisted.conch.telnet.StatefulTelnetProtocol, twisted.conch.telnet.TelnetBootstrapProtocol

Implements interfaces: twisted.conch.telnet.ITelnetProtocol

Undocumented
Method unhandledCommand A command was received but not understood.
Method unhandledSubnegotiation A subnegotiation command was received but not understood.
Method enableLocal Enable the given option locally.
Method enableRemote Indicate whether the peer should be allowed to enable this option.
Method disableLocal Disable the given option locally.
Method disableRemote Indicate that the peer has disabled this option.

Inherited from Protocol:

Method dataReceived Called whenever data is received.
Method connectionLost Called when the connection is shut down.

Inherited from BaseProtocol (via Protocol):

Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.
def unhandledCommand(self, command, argument): (source)
A command was received but not understood.
def unhandledSubnegotiation(self, command, bytes): (source)
A subnegotiation command was received but not understood.
def enableLocal(self, option): (source)

Enable the given option locally.

This should enable the given option on this side of the telnet connection and return True. If False is returned, the option will be treated as still disabled and the peer will be notified.
def enableRemote(self, option): (source)

Indicate whether the peer should be allowed to enable this option.

Returns True if the peer should be allowed to enable this option, False otherwise.
def disableLocal(self, option): (source)

Disable the given option locally.

Unlike enableLocal, this method cannot fail. The option must be disabled.
def disableRemote(self, option): (source)
Indicate that the peer has disabled this option.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.