Class t.p.f.FTPOverflowProtocol(basic.LineReceiver):

Part of twisted.protocols.ftp View Source View In Hierarchy

FTP mini-protocol for when there are too many connections.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
598 Method connectionMade Called when a connection is made.

Inherited from LineReceiver:

Line # Kind Name Docs
207 Method clearLineBuffer Clear buffered data.
211 Method dataReceived Protocol.dataReceived.
241 Method setLineMode Sets the line-mode of this receiver.
256 Method setRawMode Sets the raw mode of this receiver.
263 Method rawDataReceived Override this for when raw data is received.
268 Method lineReceived Override this for when each line is received.
273 Method sendLine Sends a line to the other end of the connection.
278 Method lineLengthExceeded Called when the maximum line length has been reached.

Inherited from Protocol (via LineReceiver):

Line # Kind Name Docs
384 Method connectionLost Called when the connection is shut down.

Inherited from BaseProtocol (via LineReceiver, Protocol):

Line # Kind Name Docs
341 Method makeConnection Make a connection to a transport and a server.

Inherited from _PauseableMixin (via LineReceiver):

Line # Kind Name Docs
172 Method pauseProducing Undocumented
176 Method resumeProducing Undocumented
181 Method stopProducing Undocumented
Line # Kind Name Docs
207 Method clearLineBuffer Clear buffered data.
384 Method connectionLost Called when the connection is shut down.
598 Method connectionMade Called when a connection is made.
211 Method dataReceived Protocol.dataReceived.
278 Method lineLengthExceeded Called when the maximum line length has been reached.
268 Method lineReceived Override this for when each line is received.
341 Method makeConnection Make a connection to a transport and a server.
172 Method pauseProducing Undocumented
263 Method rawDataReceived Override this for when raw data is received.
176 Method resumeProducing Undocumented
273 Method sendLine Sends a line to the other end of the connection.
241 Method setLineMode Sets the line-mode of this receiver.
256 Method setRawMode Sets the raw mode of this receiver.
181 Method stopProducing Undocumented
def connectionMade(self): (source)

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.
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.