Example #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}");
 }
Example #2
0
 public function __construct($host, $port, $message = '')
 {
     parent::__construct("Unable to connect to {$host}:{$port} '{$message}'");
 }
Example #3
0
 public function __construct($host, $port)
 {
     $this->host = $host;
     $this->port = $port;
     parent::__construct("Unable to read from {$host}:{$port}");
 }