Package bioMoby :: Package webservice :: Module Dispatcher :: Class AbstractDispatcher
[show private | hide private]
[frames | no frames]

Class AbstractDispatcher

Known Subclasses:
Dispatcher, SimpleDispatcher

Subclass this one to create your own dispatcher class a Dispatcher class must have a execute method
Method Summary
  __init__(self, mobyContentXML, Invocator, invocatorParameters, CommandBuilder, formatter, workdir)
dispatch a MobyContent into several queries need the class of Invocator, optional parameters of Invocation (in a InvocatorParameters class object) a Command builder, a function that changes the queries into Invocator Parameters formatter: a function that transforms raw results from the Invocator into Moby Objects workdir: the session directory
  execute(self)
Override this method

Method Details

__init__(self, mobyContentXML, Invocator, invocatorParameters, CommandBuilder, formatter=None, workdir='/tmp')
(Constructor)

dispatch a MobyContent into several queries need the class of Invocator, optional parameters of Invocation (in a InvocatorParameters class object) a Command builder, a function that changes the queries into Invocator Parameters formatter: a function that transforms raw results from the Invocator into Moby Objects workdir: the session directory

execute(self)

Override this method

Generated by Epydoc 2.1 on Wed Nov 3 17:06:09 2004 http://epydoc.sf.net