Lines Matching refs:active
31 protected $active = null; variable in Swift_Connection_Rotator
74 $start = $this->active === null ? 0 : ($this->active + 1);
85 $this->active = $id;
109 if ($this->active === null)
113 return $this->connections[$this->active]->read();
122 if ($this->active === null)
126 return $this->connections[$this->active]->write($command, $end);
134 if ($this->active === null) $this->nextConnection();
146 $this->active = null;
154 return (($this->active !== null) && $this->connections[$this->active]->isAlive());
162 return $this->active;
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);