config-hubmaster.php
Go to the documentation of this file.00001 <?php
00024
00025 $cfg = FrameworkConfiguration::getInstance();
00026
00027
00028 $cfg->setConfigEntry('hub_listen_addr', "0.0.0.0");
00029
00030
00031 $cfg->setConfigEntry('hub_listen_port', 9060);
00032
00033
00034 $cfg->setConfigEntry('hub_max_auth_tries', 3);
00035
00036
00037 $cfg->setConfigEntry('hub_msg_auth_tries', "AUTH_MAX_TRIES");
00038
00039
00040 $cfg->setConfigEntry('hub_msg_spoofing', "SPOOFING");
00041
00042
00043 $cfg->setConfigEntry('hub_msg_auth_reply_timeout', "TIMEOUT_AUTH");
00044
00045
00046 $cfg->setConfigEntry('hub_msg_bye', "BYE");
00047
00048
00049 $cfg->setConfigEntry('hub_master_ip', "192.168.1.17");
00050
00051
00052 $cfg->setConfigEntry('hub_master_port', 9060);
00053
00054
00055 $cfg->setConfigEntry('hub_auth_request', "AUTH");
00056
00057
00058 $cfg->setConfigEntry('hub_auth_request_timeout', 5);
00059
00060
00061 $cfg->setConfigEntry('hub_peer_hello', "HELLO");
00062
00063
00064 $cfg->setConfigEntry('hub_hello_reply', "ELHO");
00065
00066
00067 $cfg->setConfigEntry('hub_hello_timeout', 30);
00068
00069
00070 $cfg->setConfigEntry('hub_hello_retires', 3);
00071
00072
00073 $cfg->setConfigEntry('hub_peer_ping', "PING");
00074
00075
00076 $cfg->setConfigEntry('hub_ping_reply', "PONG");
00077
00078
00079 $cfg->setConfigEntry('hub_ping_timeout', 10);
00080
00081
00082 $cfg->setConfigEntry('hub_ping_maxdrops', 3);
00083
00084
00085 $cfg->setConfigEntry('hub_peer_miss_pong', "PONG_MISS");
00086
00087
00088 ?>