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