Ejemplo n.º 1
0
 /**
  * 构造方法,继承父类
  * 初始化连接
  * @param string $p_sKey 配置
  */
 public function __construct($p_sKey)
 {
     parent::__construct($p_sKey);
     $this->init($this->sExchangeName, $this->sQueueName, $this->sRoutingKey, $this->bDurable);
 }
Ejemplo n.º 2
0
 /**
  * 构造方法,继承父类
  * 初始化连接
  * @param string $p_sKey 配置
  */
 public function __construct($p_sKey)
 {
     parent::__construct($p_sKey);
     $this->init($this->sExchangeName, $this->sExchangeType, $this->bDurable);
 }