def __init__(self, conf, reply_q, conn, allowed_remote_exmods):
        self.conf = conf
        self.conn = conn
        self.reply_q = reply_q
        self.allowed_remote_exmods = allowed_remote_exmods

        self.conn_lock = threading.Lock()
        self.incoming = []
        self.msg_id_cache = rpc_amqp._MsgIdCache()
        self.waiters = ReplyWaiters()

        conn.declare_direct_consumer(reply_q, self)
Exemple #2
0
    def __init__(self, conf, reply_q, conn, allowed_remote_exmods):
        self.conf = conf
        self.conn = conn
        self.reply_q = reply_q
        self.allowed_remote_exmods = allowed_remote_exmods

        self.conn_lock = threading.Lock()
        self.incoming = []
        self.msg_id_cache = rpc_amqp._MsgIdCache()
        self.waiters = ReplyWaiters()

        conn.declare_direct_consumer(reply_q, self)
 def __init__(self, driver, conn):
     super(AMQPListener, self).__init__(driver)
     self.conn = conn
     self.msg_id_cache = rpc_amqp._MsgIdCache()
     self.incoming = []
Exemple #4
0
 def __init__(self, driver, conn):
     super(AMQPListener, self).__init__(driver)
     self.conn = conn
     self.msg_id_cache = rpc_amqp._MsgIdCache()
     self.incoming = []