function SetRetries($count, $delay = 0) { assert(is_int($count) && $count >= 0); assert(is_int($delay) && $delay >= 0); $this->_retrycount = $count; $this->_retrydelay = $delay; }