make current upload/download status objects available from the client

This commit is contained in:
Brian Warner
2008-02-12 15:39:45 -07:00
parent 94097affc3
commit e6af3b845c
4 changed files with 20 additions and 0 deletions

View File

@ -280,3 +280,10 @@ class Client(node.Node, testutil.PollMixin):
uploader = self.getServiceNamed("uploader")
return uploader.upload(uploadable)
def list_uploads(self):
uploader = self.getServiceNamed("uploader")
return uploader.list_uploads()
def list_downloads(self):
downloader = self.getServiceNamed("downloader")
return downloader.list_downloads()