]> git.mxchange.org Git - hub.git/blobdiff - application/hub/config.php
State pattern added, hub continued (sorry, I let it lay around uncommitted for long...
[hub.git] / application / hub / config.php
index 95eceb9cfb78705bb238717655e3b67f6bf7fb44..b870f54baf1c4d8b5d85cde179f316c8fedf13ef 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 Hub Developer Team
+ * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009, 2010 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
@@ -108,8 +108,8 @@ $cfg->setConfigEntry('active_task_visitor_class', 'ActiveTaskVisitor');
 // CFG: LIST-GROUP-CLASS
 $cfg->setConfigEntry('list_group_class', 'ListGroupList');
 
-// CFG: HUB-DESCRIPTOR-CLASS
-$cfg->setConfigEntry('hub_descriptor_class', 'HubDescriptorHelper');
+// CFG: HUB-ANNOUNCEMENT-HELPER-CLASS
+$cfg->setConfigEntry('hub_announcement_helper_class', 'HubDescriptorHelper');
 
 // CFG: DEFAULT-CONSOLE-COMMAND
 $cfg->setConfigEntry('default_console_command', 'main');
@@ -129,6 +129,9 @@ $cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
 // CFG: NEWS-PROCESS-FILTER
 $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
 
+// CFG: NODE-PHP-REQUIREMENTS-FILTER
+$cfg->setConfigEntry('node_php_requirements_filter', 'NodePhpRequirementsFilter');
+
 // CFG: NODE-INITIALIZER-FILTER
 $cfg->setConfigEntry('node_initializer_filter', 'NodeInitializationFilter');
 
@@ -165,8 +168,8 @@ $cfg->setConfigEntry('hub_shutdown_flush_node_list_filter', 'HubShutdownFlushNod
 // CFG: HUB-SHUTDOWN-DEINIT-QUEUES-FILTER
 $cfg->setConfigEntry('hub_shutdown_deinit_queues_filter', 'HubShutdownDeinitQueuesFilter');
 
-// CFG: HUB-SHUTDOWN-LISTENER-POOL-FILTER
-$cfg->setConfigEntry('hub_shutdown_listener_pool_filter', 'HubShutdownListenerPoolFilter');
+// CFG: HUB-SHUTDOWN-TASK-HANDLER-FILTER
+$cfg->setConfigEntry('hub_shutdown_task_handler_filter', 'HubShutdownTaskHandlerFilter');
 
 // CFG: HUB-SHUTDOWN-NODE-FILTER
 $cfg->setConfigEntry('hub_shutdown_node_filter', 'HubShutdownNodeFilter');
@@ -174,6 +177,30 @@ $cfg->setConfigEntry('hub_shutdown_node_filter', 'HubShutdownNodeFilter');
 // CFG: NEWS-READER-CLASS
 $cfg->setConfigEntry('news_reader_class', 'ConsoleNewsReader');
 
+// CFG: ANNOUNCEMENT-TEMPLATE-CLASS
+$cfg->setConfigEntry('announcement_template_class', 'AnnouncementTemplateEngine');
+
+// CFG: ANNOUNCEMENT-TEMPLATE-EXTENSION
+$cfg->setConfigEntry('announcement_template_extension', '.xml');
+
+// CFG: ANNOUNCEMENT-TEMPLATE-TYPE
+$cfg->setConfigEntry('announcement_template_type', 'xml/announcement');
+
+// CFG: CODE-TEMPLATE-TYPE
+$cfg->setConfigEntry('code_template_type', 'xml/announcement');
+
+// CFG: ANNOUNCEMENT-STACKER-CLASS
+$cfg->setConfigEntry('announcement_stacker_class', 'FiLoStacker');
+
+// CFG: PACKAGE-STACKER-CLASS
+$cfg->setConfigEntry('package_stacker_class', 'FiFoStacker');
+
+// CFG: STACKER-ANNOUNCEMENT-MAX-SIZE
+$cfg->setConfigEntry('stacker_announcement_max_size', 20);
+
+// CFG: STACKER-UNDECLARED-MAX-SIZE
+$cfg->setConfigEntry('stacker_undeclared_max_size', 10000);
+
 // CFG: NEWS-MAIN-LIMIT
 $cfg->setConfigEntry('news_main_limit', 5);
 
@@ -279,5 +306,26 @@ $cfg->setConfigEntry('local_query_list_class', 'LocalQueryList');
 // CFG: LOCAL-QUERY-CLASS
 $cfg->setConfigEntry('local_query_class', 'LocalQuery');
 
+// CFG: WEB-TEMPLATE-CLASS @OVERRIDE
+$cfg->setConfigEntry('web_template_class', 'ConsoleTemplateEngine');
+
+// CFG: NODE-INIT-STATE-CLASS
+$cfg->setConfigEntry('node_init_state_class', 'NodeInitState');
+
+// CFG: NODE-VIRGIN-STATE-CLASS
+$cfg->setConfigEntry('node_virgin_state_class', 'NodeVirginState');
+
+// CFG: NODE-ACTIVE-STATE-CLASS
+$cfg->setConfigEntry('node_active_state_class', 'NodeActiveState');
+
+// CFG: NETWORK-PACKAGE-CLASS
+$cfg->setConfigEntry('network_package_class', 'NetworkPackage');
+
+// CFG: PACKAGE-COMPRESSOR-CLASS
+$cfg->setConfigEntry('deco_package_compressor_class', 'NetworkPackageCompressorDecorator');
+
+// CFG: RAW-PACKAGE-COMPRESSOR-CLASS
+$cfg->setConfigEntry('raw_package_compressor_class', 'GzipCompressor');
+
 // [EOF]
 ?>