X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fconfig%2Fconfig-hubmaster.php;h=873004a039518e8f4308073593965c6375c9c83b;hb=03f86810ffb6ad0158ebee204ee318d47b2615ec;hp=a47854b5dc9278c81e875fcda230a9eb02033db0;hpb=89c2daf5e6f80ace34426c4bd074e1e2a8fa73d7;p=core.git diff --git a/inc/config/config-hubmaster.php b/inc/config/config-hubmaster.php index a47854b5..873004a0 100644 --- a/inc/config/config-hubmaster.php +++ b/inc/config/config-hubmaster.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team * @license GNU GPL 3.0 or any newer version * * This program is free software: you can redistribute it and/or modify @@ -21,75 +21,11 @@ * along with this program. If not, see . */ -/////////////////////////////////////////////////////////////////////////////// -/// DO NOT RELY ON THIS CONFIG ENTRIES! THEY ARE SUBJECT OF BEING REPLACED. /// -/////////////////////////////////////////////////////////////////////////////// - // Get the configuration instance $cfg = FrameworkConfiguration::getInstance(); -// CFG: HUB-LISTEN-ADDR -$cfg->setConfigEntry('hub_listen_addr', "0.0.0.0"); - -// CFG: HUB-LISTEN-PORT (zero = auto-choose) -$cfg->setConfigEntry('hub_listen_port', 9060); - -// CFG: HUB-MAX-AUTH-TRIES -$cfg->setConfigEntry('hub_max_auth_tries', 3); - -// CFG: HUB-MSG-AUTH-TRIES -$cfg->setConfigEntry('hub_msg_auth_tries', "AUTH_MAX_TRIES"); - -// CFG: HUB-MSG-SPOOFING -$cfg->setConfigEntry('hub_msg_spoofing', "SPOOFING"); - -// CFG: HUB-MSG-AUTH-REPLY -$cfg->setConfigEntry('hub_msg_auth_reply_timeout', "TIMEOUT_AUTH"); - -// CFG: HUB-MSG-BYE -$cfg->setConfigEntry('hub_msg_bye', "BYE"); - -// CFG: HUB-MASTER-IP -$cfg->setConfigEntry('hub_master_ip', "192.168.1.1"); - -// CFG: HUB-MASTER-PORT -$cfg->setConfigEntry('hub_master_port', 9060); - -// CFG: HUB-AUTH-REQUEST -$cfg->setConfigEntry('hub_auth_request', "AUTH"); - -// CFG: HUB-AUTH-REQUEST-TIMEOUT (5 seconds for whole auth procedure shall be fine) -$cfg->setConfigEntry('hub_auth_request_timeout', 5); - -// CFG: HUB-PEER-HELLO -$cfg->setConfigEntry('hub_peer_hello', "HELLO"); - -// CFG: HUB-HELLO-REPLY -$cfg->setConfigEntry('hub_hello_reply', "ELHO"); - -// CFG: HUB-HELLO-TIMEOUT -$cfg->setConfigEntry('hub_hello_timeout', 30); - -// CFG: HUB-HELLO-RETRIES -$cfg->setConfigEntry('hub_hello_retires', 3); - -// CFG: HUB-PEER-PING -$cfg->setConfigEntry('hub_peer_ping', "PING"); - -// CFG: HUB-PING-REPLY -$cfg->setConfigEntry('hub_ping_reply', "PONG"); - -// CFG: HUB-PING-TIMEOUT -$cfg->setConfigEntry('hub_ping_timeout', 10); - -// CFG: HUB-PING-MAXDROPS -$cfg->setConfigEntry('hub_ping_maxdrops', 3); - -// CFG: HUB-PEER-MISS-PONG -$cfg->setConfigEntry('hub_peer_miss_pong', "PONG_MISS"); - -// CFG: HUB-INTRO-ENABLED -$cfg->setConfigEntry('hub_intro_enabled', "Y"); +// CFG: HUB-BOOTSTRAP-NODES +$cfg->setConfigEntry('hub_bootstrap_nodes', '192.168.1.1:9060'); // [EOF] ?>