HCE Project PHP language client API bindings
1.5.1
Hierarchical Cluster Engine PHP Client Interface API
|
Go to the source code of this file.
Namespaces | |
namespace | HCE |
Variables | |
defined ('LOG_MODE_JSON') or define('LOG_MODE_JSON' | |
if(php_sapi_name()!=='cli'||!defined('STDIN')) | $args = cli_parse_arguments($argv) |
if(isset($args['h'])||isset($args['help'])) | $MAX_QUERIES = isset($args['n']) ? $args['n']+0 : '1' |
$REQUEST_DELAY = isset($args['d']) ? $args['d']+0 : 0 | |
$LOG_MODE = isset($args['l']) ? $args['l']+0 : 2 | |
$RESPONSE_TIMEOUT = isset($args['t']) ? ($args['t']+0) : HCE_DRCE_EXEC_DEFAULT_TIMEOUT | |
$Connection_host = isset($args['host']) ? $args['host'] : 'localhost' | |
$Connection_port = isset($args['port']) ? $args['port'] : '5556' | |
$Route = isset($args['route']) ? $args['route'] : '' | |
$Client_Identity = isset($args['cid']) ? hce_unique_client_id.$args['cid'] : hce_unique_client_id() | |
$REQUEST_TYPE = isset($args['request']) ? $args['request'] : 'CHECK' | |
$REQUEST_TTL = isset($args['ttl']) ? ($args['ttl']+0) : HCE_DRCE_EXEC_DEFAULT_TTL | |
$requests_names = array('SET'=>HCE_DRCE_REQUEST_TYPE_SET, 'CHECK'=>HCE_DRCE_REQUEST_TYPE_CHECK, 'TERMINATE'=>HCE_DRCE_REQUEST_TYPE_TERMINATE, 'GET'=>HCE_DRCE_REQUEST_TYPE_GET, 'DELETE'=>HCE_DRCE_REQUEST_TYPE_DELETE) | |
$Request_body |
if (php_sapi_name()!=='cli'||!defined('STDIN')) $args = cli_parse_arguments($argv) |
Definition at line 29 of file drce.ini.php.
$Client_Identity = isset($args['cid']) ? hce_unique_client_id.$args['cid'] : hce_unique_client_id() |
Definition at line 49 of file drce.ini.php.
$Connection_host = isset($args['host']) ? $args['host'] : 'localhost' |
Definition at line 46 of file drce.ini.php.
$Connection_port = isset($args['port']) ? $args['port'] : '5556' |
Definition at line 47 of file drce.ini.php.
$LOG_MODE = isset($args['l']) ? $args['l']+0 : 2 |
Definition at line 44 of file drce.ini.php.
if (isset($args['h'])||isset($args['help'])) $MAX_QUERIES = isset($args['n']) ? $args['n']+0 : '1' |
Definition at line 42 of file drce.ini.php.
$Request_body |
Definition at line 98 of file drce.ini.php.
$REQUEST_DELAY = isset($args['d']) ? $args['d']+0 : 0 |
Definition at line 43 of file drce.ini.php.
$REQUEST_TTL = isset($args['ttl']) ? ($args['ttl']+0) : HCE_DRCE_EXEC_DEFAULT_TTL |
Definition at line 51 of file drce.ini.php.
$REQUEST_TYPE = isset($args['request']) ? $args['request'] : 'CHECK' |
Definition at line 50 of file drce.ini.php.
$requests_names = array('SET'=>HCE_DRCE_REQUEST_TYPE_SET, 'CHECK'=>HCE_DRCE_REQUEST_TYPE_CHECK, 'TERMINATE'=>HCE_DRCE_REQUEST_TYPE_TERMINATE, 'GET'=>HCE_DRCE_REQUEST_TYPE_GET, 'DELETE'=>HCE_DRCE_REQUEST_TYPE_DELETE) |
Definition at line 52 of file drce.ini.php.
Definition at line 45 of file drce.ini.php.
$Route = isset($args['route']) ? $args['route'] : '' |
Definition at line 48 of file drce.ini.php.
defined('RESPONSE_TIMEOUT_DEFAULT') or define('RESPONSE_TIMEOUT_DEFAULT' |
Definition at line 21 of file drce.ini.php.