public function __construct($host, $port = 10000, $username = null, $password = null, $timeout = null) { $this->_host = $host; $this->_port = $port; $this->_username = $username; $this->_password = $password; $this->_timeout = $timeout; }