Esempio n. 1
0
 def __init__(self, archive, journal=None, author=None, year=None, volume=None, page=None, notes=None, download=False, keywords=None):
     ServerRequest.__init__(self, ISIServer.REQUEST_PORT, ISIAnswer)
     self.archive = Archive(archive)
     self.download = download
     self.notes = notes
     self.keywords = keywords
     self.kwargs = {}
     if journal: self.kwargs["journal"] = journal
     if author: self.kwargs["author"] = author
     if year: self.kwargs["year"] = year
     if volume: self.kwargs["volume"] = volume
     if page: self.kwargs["page"] = page
     self.search = WOKSearch(**self.kwargs)
Esempio n. 2
0
 def run(self):
     response = ServerRequest.run(self, self.article)
     return response
Esempio n. 3
0
 def __init__(self, article):
     ServerRequest.__init__(self, ArchiveServer.REQUEST_PORT, ArchiveAnswer)
     self.article = article
Esempio n. 4
0
 def __init__(self):
     ServerRequest.__init__(self, gtkserver.REQUEST_PORT, gtkanswer)
Esempio n. 5
0
 def __init__(self):
     ServerRequest.__init__(self, CiteServer.REQUEST_PORT, CiteAnswer)
Esempio n. 6
0
 def __init__(self):
     ServerRequest.__init__(self, PDFServer.REQUEST_PORT, PDFAnswer)
Esempio n. 7
0
 def run(self, method, args=None):
     cmd = ISIServerCommand(method, args)
     response = ServerRequest.run(self, cmd)
     return response