Lines Matching refs:connections
26 protected $connections = array(); variable in Swift_Connection_Rotator
41 public function __construct($connections=array()) argument
43 foreach ($connections as $id => $conn)
45 $this->addConnection($connections[$id], $id);
59 $this->connections[] = $connection;
73 $total = count($this->connections);
82 if (!$this->connections[$id]->isAlive()) $this->connections[$id]->start();
83 if ($this->connections[$id]->isAlive())
91 $this->connections[$id]->stop();
113 return $this->connections[$this->active]->read();
126 return $this->connections[$this->active]->write($command, $end);
142 foreach ($this->connections as $id => $conn)
144 if ($this->connections[$id]->isAlive()) $this->connections[$id]->stop();
154 return (($this->active !== null) && $this->connections[$this->active]->isAlive());
171 $this->connections[$this->active]->postConnect($instance);
178 $this->connections[$this->active]->setExtension($extension, $attributes);
185 return $this->connections[$this->active]->hasExtension($name);
192 return $this->connections[$this->active]->getAttributes($name);