/**
  * Server is the server array we are expecting to connect to
  * db - database object
  */
 function __construct(Dao_Factory $daoFactory, Services_Settings_Container $settings, $force, $retro)
 {
     parent::__construct($daoFactory, $settings, $force, $retro);
     $this->_spotDao = $daoFactory->getSpotDao();
     $this->_commentDao = $daoFactory->getCommentDao();
     $this->_svcNntpTextReading = new Services_Nntp_SpotReading($this->_svcNntpText);
     $this->_retrieveFull = $this->_settings->get('retrieve_full_comments');
 }
 /**
  * Server is the server array we are expecting to connect to
  * db - database object
  */
 function __construct(Dao_Factory $daoFactory, Services_Settings_Container $settings, $force, $retro)
 {
     parent::__construct($daoFactory, $settings, $force, $retro);
     $this->_rsakeys = $this->_settings->get('rsa_keys');
     $this->_retrieveFull = $this->_settings->get('retrieve_full');
     $this->_prefetch_image = $this->_settings->get('prefetch_image');
     $this->_prefetch_nzb = $this->_settings->get('prefetch_nzb');
     $this->_spotDao = $daoFactory->getSpotDao();
     $this->_commentDao = $daoFactory->getCommentDao();
     $this->_cacheDao = $daoFactory->getCacheDao();
     $this->_modListDao = $daoFactory->getModeratedRingBufferDao();
     $this->_svcSpotParser = new Services_Format_Parsing();
     # if we need to fetch images or nzb files, we need several service objects
     if ($this->_retrieveFull || $this->_prefetch_image || $this->_prefetch_nzb) {
         /*
          * NNTP Spot Reading engine
          */
         $this->_svcNntpTextReading = new Services_Nntp_SpotReading($this->_svcNntpText);
         $this->_svcNntpBinReading = new Services_Nntp_SpotReading($this->_svcNntpBin);
         $this->_svcProvNzb = new Services_Providers_Nzb($this->_cacheDao, $this->_svcNntpBinReading);
         $this->_svcProvImage = new Services_Providers_SpotImage(new Services_Providers_Http($this->_cacheDao), $this->_svcNntpBinReading, $this->_cacheDao);
     }
     # if
 }
 /**
  * Server is the server array we are expecting to connect to
  * db - database object
  */
 function __construct(Dao_Factory $daoFactory, Services_Settings_Container $settings, $force, $retro)
 {
     parent::__construct($daoFactory, $settings, $force, $retro);
     $this->_reportDao = $daoFactory->getSpotReportDao();
     $this->_spotDao = $daoFactory->getSpotDao();
 }