public function __construct($host, $port, $timeout)
 {
     $this->host = $host;
     $this->port = $port;
     $this->timeout = $timeout;
     parent::__construct("No response from {$host}:{$port} in {$timeout}");
 }
 public function __construct($host, $port, $message = '')
 {
     parent::__construct("Unable to connect to {$host}:{$port} '{$message}'");
 }
Exemple #3
0
 public function __construct($host, $port)
 {
     $this->host = $host;
     $this->port = $port;
     parent::__construct("Unable to read from {$host}:{$port}");
 }