Package AccessGrid :: Module DataStoreClient :: Class DataStoreClient
[show private | hide private]
[frames | no frames]

Class DataStoreClient


Client interface API for a venue datastore.

Currently we wrap the basic datastore upload/download and file listing methods.


Method Summary
  __init__(self, uploadURL, datastoreURL)
  Download(self, filename, localFile)
Download filename to local file localFile.
  GetFileData(self, filename)
  LoadData(self)
Load the local data descriptor cache from the datastore.
  OpenFile(self, file, mode)
  QueryMatchingFiles(self, pattern)
Return a list of filenames that match the given pattern.
  QueryMatchingFilesMultiple(self, patternList)
  RemoveFile(self, file)
  Upload(self, localFile)
Upload localFile to the venue datastore.

Method Details

Download(self, filename, localFile)

Download filename to local file localFile.

LoadData(self)

Load the local data descriptor cache from the datastore.

QueryMatchingFiles(self, pattern)

Return a list of filenames that match the given pattern. Pattern is a unix-style filename wildcard.

Upload(self, localFile)

Upload localFile to the venue datastore.


Generated by Epydoc 2.1 on Thu Apr 14 16:39:28 2005 http://epydoc.sf.net