]> git.mxchange.org Git - hub.git/blobdiff - application/hub/config.php
Before previous commit I was about to write only a 'test' cruncher, now this will...
[hub.git] / application / hub / config.php
index 509c9798bc9a393ac14770e9e228dd3da7857d07..c18e59d032304aee403ceece84f6aed1b496fcfd 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009, 2010 Hub Developer Team
+ * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
@@ -33,8 +33,17 @@ $cfg->setConfigEntry('node_tcp_listen_port', 9060);
 // CFG: NODE-UDP-LISTEN-PORT
 $cfg->setConfigEntry('node_udp_listen_port', 9060);
 
-// CFG: NODE-MODE (can be 'regular', 'list', 'master' or 'boot', default is 'regular')
-$cfg->setConfigEntry('node_mode', 'regular');
+// CFG: BOOT-NODE-TCP-LISTEN-PORT
+$cfg->setConfigEntry('boot_node_tcp_listen_port', 9061);
+
+// CFG: BOOT-NODE-UDP-LISTEN-PORT
+$cfg->setConfigEntry('boot_node_udp_listen_port', 9061);
+
+// CFG: NODE-DEFAULT-MODE (can be 'regular', 'list', 'master' or 'boot', default is 'regular')
+$cfg->setConfigEntry('node_default_mode', 'regular');
+
+// CFG: CRUNCHER-DEFAULT-MODE (can be 'mcrypt' at the moment)
+$cfg->setConfigEntry('cruncher_default_mode', 'mcrypt');
 
 // CFG: TEMPLATE-ENGINE
 $cfg->setConfigEntry('tpl_engine', 'ConsoleOutput');
@@ -51,6 +60,9 @@ $cfg->setConfigEntry('node_info_db_wrapper_class', 'NodeInformationDatabaseWrapp
 // CFG: NODE-LIST-DB-WRAPPER-CLASS
 $cfg->setConfigEntry('node_list_db_wrapper_class', 'NodeListDatabaseWrapper');
 
+// CFG: PEER-LOOKUP-DB-WRAPPER-CLASS
+$cfg->setConfigEntry('peer_state_lookup_db_wrapper_class', 'PeerStateLookupDatabaseWrapper');
+
 // CFG: WEB-CONTENT-TYPE
 $cfg->setConfigEntry('web_content_type', '');
 
@@ -105,6 +117,9 @@ $cfg->setConfigEntry('shutdown_listener_pool_visitor_class', 'ShutdownListenerPo
 // CFG: SHUTDOWN-TASK-VISITOR-CLASS
 $cfg->setConfigEntry('shutdown_task_visitor_class', 'ShutdownTaskVisitor');
 
+// CFG: SHUTDOWN-SOCKET-VISITOR-CLASS
+$cfg->setConfigEntry('shutdown_socket_visitor_class', 'ShutdownSocketVisitor');
+
 // CFG: ACTIVE-TASK-VISITOR-CLASS
 $cfg->setConfigEntry('active_task_visitor_class', 'ActiveTaskVisitor');
 
@@ -126,6 +141,9 @@ $cfg->setConfigEntry('default_hubconsole_command', 'main');
 // CFG: HUBCONSOLE-CMD-MAIN-RESOLVER-CLASS
 $cfg->setConfigEntry('hubconsole_cmd_main_resolver_class', 'HubConsoleCommandResolver');
 
+// CFG: HUBCONSOLE-CMD-CRUNCHER-RESOLVER-CLASS
+$cfg->setConfigEntry('hubconsole_cmd_cruncher_resolver_class', 'HubConsoleCommandResolver');
+
 // CFG: NETWORK-STATE-RESOLVER-CLASS
 $cfg->setConfigEntry('network_state_resolver_class', 'NetworkStateResolver');
 
@@ -138,17 +156,29 @@ $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
 // CFG: NODE-PHP-REQUIREMENTS-FILTER
 $cfg->setConfigEntry('node_php_requirements_filter', 'NodePhpRequirementsFilter');
 
+// CFG: CRUNCHER-PHP-REQUIREMENTS-FILTER
+$cfg->setConfigEntry('cruncher_php_requirements_filter', 'CruncherPhpRequirementsFilter');
+
 // CFG: NODE-INITIALIZER-FILTER
 $cfg->setConfigEntry('node_initializer_filter', 'NodeInitializationFilter');
 
+// CFG: CRUNCHER-INITIALIZER-FILTER
+$cfg->setConfigEntry('cruncher_initializer_filter', 'CruncherInitializationFilter');
+
 // CFG: HUB-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER
-$cfg->setConfigEntry('hub_activation_task_handler_initializer_filter', 'TaskHandlerInitializerFilter');
+$cfg->setConfigEntry('hub_activation_task_handler_initializer_filter', 'HubTaskHandlerInitializerFilter');
+
+// CFG: CRUNCHER-BOOTSTRAP-TASK-HANDLER-INITIALIZER-FILTER
+$cfg->setConfigEntry('cruncher_bootstrap_task_handler_initializer_filter', 'CruncherTaskHandlerInitializerFilter');
 
 // CFG: HUB-ACTIVATION-SELF-ANNOUNCEMENT-TASK-FILTER
 $cfg->setConfigEntry('hub_activation_self_announcement_task_filter', 'HubActivationSelfAnnouncementFilter');
 
-// CFG: CONSOLE-WELCOME-TEASER-FILTER
-$cfg->setConfigEntry('console_welcome_teaser_filter', 'ConsoleWelcomeTeaserFilter');
+// CFG: NODE-WELCOME-TEASER-FILTER
+$cfg->setConfigEntry('node_welcome_teaser_filter', 'NodeWelcomeTeaserFilter');
+
+// CFG: CRUNCHER-WELCOME-TEASER-FILTER
+$cfg->setConfigEntry('cruncher_welcome_teaser_filter', 'CruncherWelcomeTeaserFilter');
 
 // CFG: HUB-BOOTSTRAP-GENERATE-HUBID-FILTER
 $cfg->setConfigEntry('hub_bootstrap_generate_hubid_filter', 'HubBootstrapGenerateHubIdFilter');
@@ -180,6 +210,9 @@ $cfg->setConfigEntry('hub_shutdown_task_handler_filter', 'HubShutdownTaskHandler
 // CFG: HUB-SHUTDOWN-NODE-FILTER
 $cfg->setConfigEntry('hub_shutdown_node_filter', 'HubShutdownNodeFilter');
 
+// CFG: HUB-SHUTDOWN-CRUNCHER-FILTER
+$cfg->setConfigEntry('hub_shutdown_cruncher_filter', 'HubShutdownCruncherFilter');
+
 // CFG: NEWS-READER-CLASS
 $cfg->setConfigEntry('news_reader_class', 'ConsoleNewsReader');
 
@@ -195,6 +228,18 @@ $cfg->setConfigEntry('announcement_template_type', 'xml/announcement');
 // CFG: ANNOUNCEMENT-STACKER-CLASS
 $cfg->setConfigEntry('announcement_stacker_class', 'FiLoStacker');
 
+// CFG: SELF-CONNECT-TEMPLATE-CLASS
+$cfg->setConfigEntry('self_connect_template_class', 'SelfConnectTemplateEngine');
+
+// CFG: SELF-CONNECT-TEMPLATE-EXTENSION
+$cfg->setConfigEntry('self_connect_template_extension', '.xml');
+
+// CFG: SELF-CONNECT-TEMPLATE-TYPE
+$cfg->setConfigEntry('self_connect_template_type', 'xml/self_connect');
+
+// CFG: SELF-CONNECT-STACKER-CLASS
+$cfg->setConfigEntry('self_connect_stacker_class', 'FiLoStacker');
+
 // CFG: OBJECT-REGISTRY-TEMPLATE-CLASS
 $cfg->setConfigEntry('object_registry_template_class', 'ObjectRegistryTemplateEngine');
 
@@ -211,7 +256,7 @@ $cfg->setConfigEntry('object_registry_stacker_class', 'FiLoStacker');
 $cfg->setConfigEntry('object_type_registry_class', 'ObjectTypeRegistry');
 
 // CFG: CODE-TEMPLATE-TYPE
-$cfg->setConfigEntry('code_template_type', 'xml/announcement');
+$cfg->setConfigEntry('code_template_type', 'xml');
 
 // CFG: PACKAGE-STACKER-CLASS
 $cfg->setConfigEntry('package_stacker_class', 'FiFoStacker');
@@ -219,6 +264,9 @@ $cfg->setConfigEntry('package_stacker_class', 'FiFoStacker');
 // CFG: STACKER-ANNOUNCEMENT-MAX-SIZE
 $cfg->setConfigEntry('stacker_announcement_max_size', 20);
 
+// CFG: STACKER-SELF-CONNECT-MAX-SIZE
+$cfg->setConfigEntry('stacker_self_connect_max_size', 10);
+
 // CFG: STACKER-UNDECLARED-MAX-SIZE
 $cfg->setConfigEntry('stacker_undeclared_max_size', 10000);
 
@@ -255,6 +303,15 @@ $cfg->setConfigEntry('task_query_handler_interval_delay', 10);
 // CFG: TASK-QUERY-HANDLER-MAX-RUNS
 $cfg->setConfigEntry('task_query_handler_max_runs', 0);
 
+// CFG: TASK-QUEUE-HANDLER-STARTUP-DELAY
+$cfg->setConfigEntry('task_queue_handler_startup_delay', 1000);
+
+// CFG: TASK-QUEUE-HANDLER-INTERVAL-DELAY
+$cfg->setConfigEntry('task_queue_handler_interval_delay', 10);
+
+// CFG: TASK-QUEUE-HANDLER-MAX-RUNS
+$cfg->setConfigEntry('task_queue_handler_max_runs', 0);
+
 // CFG: TASK-IDLE-LOOP-STARTUP-DELAY
 $cfg->setConfigEntry('task_idle_loop_startup_delay', 0);
 
@@ -402,5 +459,26 @@ $cfg->setConfigEntry('tcp_buffer_length', 1024);
 // CFG: UDP-BUFFER-LENGTH
 $cfg->setConfigEntry('udp_buffer_length', 1024);
 
+// CFG: TCP-CONNECT-RETRY-MAX
+$cfg->setConfigEntry('tcp_connect_retry_max', 10);
+
+// CFG: UDP-CONNECT-RETRY-MAX
+$cfg->setConfigEntry('udp_connect_retry_max', 10);
+
+// CFG: PEER-STATE-LOOKUP-TABLE-CLASS
+$cfg->setConfigEntry('peer_state_lookup_table_class', 'PeerStateLookupTable');
+
+// CFG: PEER-STATE-CHECKED-PACKAGE-CLASS
+$cfg->setConfigEntry('peer_state_checked_package_class', 'NewConnectionPeerState');
+
+// CFG: SESSION-ID
+$cfg->setConfigEntry('session_id', '');
+
+// CFG: EXTERNAL-IP
+$cfg->setConfigEntry('external_ip', '');
+
+// CFG: PACKAGE-FRAGMENTER-CLASS
+$cfg->setConfigEntry('package_fragmenter_class', 'PackageFragmenter');
+
 // [EOF]
 ?>