| Home | Trees | Index | Help |
|---|
| Package twisted :: Package protocols :: Module ftp :: Class ProtocolWrapper |
|
BaseProtocol--+ |Protocol--+ | ProtocolWrapper
| Method Summary | |
|---|---|
__init__(self,
original,
deferred)
| |
(Deprecated) | |
Called when the connection is shut down. | |
Called when a connection is made. (inherited from BaseProtocol)
| |
Called whenever data is received. | |
Make a connection to a transport and a server. | |
| Method Details |
|---|
connectionFailed(self)(Deprecated) This used to be called when the connection was not properly established.
|
connectionLost(self, reason)Called when the connection is shut down. Clear any circular references here, and any external references to this Protocol. The connection has been closed.
|
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.
|
makeConnection(self, transport)Make a connection to a transport and a server. This sets the 'transport' attribute of this Protocol, and calls the connectionMade() callback.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.1 on Fri Jun 27 03:48:27 2003 | http://epydoc.sf.net |