Esempio n. 1
0
 /**
  * Initialize connection to server.
  *
  * @return boolean true on success
  */
 public function start($master)
 {
     if (parent::start($master)) {
         $this->connect();
         return true;
     } else {
         return false;
     }
 }
Esempio n. 2
0
 /**
  * Initialise connection to server.
  *
  * @return boolean true on success
  */
 public function start($master)
 {
     if (parent::start($master)) {
         $this->requeue_waiting_messages();
         $this->connect();
         return true;
     } else {
         return false;
     }
 }