Lines Matching refs:handle
50 protected $handle = null; variable in Swift_Connection_SMTP
239 if (!$this->handle) throw new Swift_ConnectionException(
243 while (!feof($this->handle))
246 stream_set_timeout($this->handle, $this->timeout);
247 $tmp = @fgets($this->handle);
248 if ($tmp === false && !feof($this->handle))
267 if (!$this->handle) throw new Swift_ConnectionException(
270 …if (!@fwrite($this->handle, $command . $end) && !empty($command)) throw new Swift_ConnectionExcept…
301 if (!$this->handle = @fsockopen($server, $this->port, $errno, $errstr, $this->timeout))
308 $this->handle = null;
357 $handle = opendir($dir);
358 while (false !== $file = readdir($handle))
368 closedir($handle);
427 if ($this->handle)
429 if (!fclose($this->handle))
433 $this->handle = null;
442 return ($this->handle !== null);