c.l.f.t.InstrumentedLibrarianClient(LibrarianClient) : class documentation

Part of canonical.librarian.ftests.test_client View In Hierarchy

Undocumented
Method _sendHeader Undocumented
Method _getURLForDownload Returns the internal librarian URL for the alias.

Inherited from LibrarianClient:

Method upload_host Undocumented
Method upload_port Undocumented
Method download_url Undocumented
Method _internal_download_url Undocumented

Inherited from FileUploadClient (via LibrarianClient):

Method __init__ Undocumented
Method addFile Add a file to the librarian.
Method remoteAddFile See IFileUploadClient.
Method _connect Connect this client.
Method _close Close connection
Method _checkError Undocumented
Method _sendLine Undocumented
Method _getDatabaseName Undocumented

Inherited from FileDownloadClient (via LibrarianClient):

Method getURLForAlias Returns the url for talking to the librarian about the given
Method getURLForAliasObject Return the download URL for a LibraryFileAlias.
Method getFileByAlias See IFileDownloadClient.
Method _getAlias Retrieve the LibraryFileAlias with the given id.
Method _checkAliasAccess Verify that alias can be accessed.
Method _getPathForAlias Returns the path inside the librarian to talk about the given
Method _getPathForAliasObject Returns the Librarian path for a LibraryFileAlias.
Method _getBaseURL Get the base URL to use for alias.
Method _connect_read Helper for getFileByAlias.
def _sendHeader(self, name, value):
Undocumented
def _getURLForDownload(self, aliasID):
Returns the internal librarian URL for the alias.
ParametersaliasIDA unique ID for the alias
ReturnsString URL, or None if the file has expired and been deleted.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.