l.p.t.t.FTPServer : class documentation

Part of lp.poppy.tests.test_poppy View In Hierarchy

This is an abstraction of connecting to an FTP server.
Method __init__ Undocumented
Method setUp Undocumented
Method tearDown Undocumented
Method getTransport Undocumented
Method disconnect Undocumented
Method waitForStartUp Wait for the FTP server to start up.
Method waitForClose Wait for an FTP connection to close.
Method _getFTPConnection Undocumented
def __init__(self, root_dir, factory):
Undocumented
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def getTransport(self):
Undocumented
def disconnect(self, transport):
Undocumented
def _getFTPConnection(self):
Undocumented
def waitForStartUp(self):
Wait for the FTP server to start up.
def waitForClose(self):
Wait for an FTP connection to close.

Poppy is configured to echo 'CLOSED' to stdout when a connection closes, so we wait for CLOSED to appear in its output as a way to tell that the server has finished with the connection.

API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.