def __init__(self, fibonacci_generator): """ @param fibonacci_generator: Service which generates fibonacci sequence @type fibonacci_generator: C{FibonacciGenerator} """ APIResource.__init__(self) self.fibonacci_generator = fibonacci_generator
def __init__(self, mserver, kserver, protocol): self.mserver = mserver self.kserver = kserver self.protocol = protocol self.db = mserver.db self.keychain = KeyChain(self.db) APIResource.__init__(self)
def __init__(self): APIResource.__init__(self)
def __init__(self, mserver, kserver): self.mserver = mserver self.kserver = kserver APIResource.__init__(self)
def __init__(self, arg): self.create_wamp_connection() APIResource.__init__(self)
def __init__(self, deffered): self.defferred = deffered APIResource.__init__(self)
def __init__(self, spotify): APIResource.__init__(self) self.spotify = spotify
def __init__(self, mserver, kserver, protocol): self.mserver = mserver self.kserver = kserver self.protocol = protocol APIResource.__init__(self)
def __init__(self, deferred): self.deferred = deferred self.listening = False APIResource.__init__(self)
def __init__(self, jobs, workers, debug=False, *args, **kwargs): APIResource.__init__(self, *args, **kwargs) self.queue = RDQueue(jobs, workers) self.debug = debug