<filename>dispatcher/abstract.py
import interface


class DispatcherBase(interface.IDispatcher):
    def __init__(self):
        interface.IDispatcher.__init__(self)
        self._param = {}
        self._job = []

    def getparam(self):
        return self._param

    def setvalue(self, key, value):
        self._param[key] = value

    def getvalue(self, key):

        if self._param.has_key(key):
            return self._param[key]
        return ""

<filename>dispatcher/abstract.py
import interface


class DispatcherBase(interface.IDispatcher):
    def __init__(self):
        interface.IDispatcher.__init__(self)
        self._param = {}
        self._job = []

    def getparam(self):
        return self._param

    def setvalue(self, key, value):
        self._param[key] = value

    def getvalue(self, key):

        if self._param.has_key(key):
            return self._param[key]
        return ""
