l.s.l.t.t.InstrumentedLibrarianClient(LibrarianClient) : class documentation

Part of lp.services.librarian.tests.test_client View In Hierarchy

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

Inherited from LibrarianClient:

Method upload_host Undocumented
Method upload_port Undocumented
Method download_url Undocumented
Method _internal_download_url Used by _getURLForDownload.

Inherited from FileUploadClient (via LibrarianClient):

Method addFile Add a file to the librarian.
Method remoteAddFile See IFileUploadClient.
Method _connect Connect this client.
Method _close Close connection
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 __init__(self, *args, **kwargs):
Undocumented
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.
def _checkError(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2021-05-08 00:00:03.