Ejemplo n.º 1
0
 public function __construct($secretkey)
 {
     parent::__construct();
     $this->addBoard(new Board(null, null, "Testboards", "", null, new StaticAuthManager(true)));
     $host = new Host("localhost");
     $memcache = new MemcacheHost("localhost", 11211, "nntpboard999");
     $indexer = $this->getIndexer();
     $this->addBoard(new Board(900, null, "Boards", "Unterforen", new StaticAuthManager(true), new StaticAuthManager(true)));
     $this->addBoard(new FileCachedNNTPBoard(998, 900, "eins", "A", $indexer, new StaticAuthManager(true), new StaticAuthManager(true), true, $host, "test.a"));
     $this->addBoard(new MemCachedNNTPBoard(999, 900, "zwei", "B", $indexer, new StaticAuthManager(true), new StaticAuthManager(true), false, $memcache, $host, "test.b"));
     $this->addBoard(new MemCachedIMAPBoard(1000, 900, "imap", "Z", $indexer, new StaticAuthManager(true), new StaticAuthManager(true), false, new MemCacheHost("localhost", 11211, "nntpboard1000"), new Host("localhost", 143), "*****@*****.**", "", "INBOX"));
     $this->addBoard(new RedisCachedIMAPBoard(1001, 900, "imap2", "Y", $indexer, new StaticAuthManager(true), new StaticAuthManager(true), false, new RedisHost("localhost", 6379, "nntpboard1001"), new Host("localhost", 143), "*****@*****.**", "", "INBOX"));
     $this->secretkey = $secretkey;
 }
Ejemplo n.º 2
0
 function __construct()
 {
     // Debug - Classname ausgeben?!
     Debug::debugInitOnLoad('Class', __CLASS__);
     parent::__construct();
 }