Beispiel #1
0
class Manage(object):
    
    
    def __init__(self, queue='rpc_queue'):
        self.queue = queue
        self.mes = Message()
    
    
    def __str__(self):
        pass
    
    
    def consume(self):
        self.mes.execute(self.queue)
Beispiel #2
0
 def __init__(self, queue='rpc_queue'):
     self.queue = queue
     self.mes = Message()