Example #1
0
 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
Example #2
0
 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)
Example #3
0
 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
Example #4
0
 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)
Example #5
0
 def __init__(self):
     APIResource.__init__(self)
Example #6
0
 def __init__(self, mserver, kserver):
     self.mserver = mserver
     self.kserver = kserver
     APIResource.__init__(self)
Example #7
0
 def __init__(self, arg):
     self.create_wamp_connection()
     APIResource.__init__(self)
Example #8
0
 def __init__(self, deffered):
     self.defferred = deffered
     APIResource.__init__(self)
Example #9
0
 def __init__(self, spotify):
     APIResource.__init__(self)
     self.spotify = spotify
 def __init__(self, mserver, kserver):
     self.mserver = mserver
     self.kserver = kserver
     APIResource.__init__(self)
Example #11
0
 def __init__(self, deffered):
     self.defferred = deffered
     APIResource.__init__(self)
Example #12
0
 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)
Example #14
0
 def __init__(self, jobs, workers, debug=False, *args, **kwargs):
     APIResource.__init__(self, *args, **kwargs)
     self.queue = RDQueue(jobs, workers)
     self.debug = debug
Example #15
0
 def __init__(self, mserver, kserver, protocol):
     self.mserver = mserver
     self.kserver = kserver
     self.protocol = protocol
     APIResource.__init__(self)