HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.
2.0.0-chaika
Hierarchical Cluster Engine Python language binding
|
Variables | |
string | APP_NAME = "dtmc" |
string | DEFAULT_CONFIG_NAME1 = "./dtmc.ini" |
string | DEFAULT_CONFIG_NAME2 = "/ect/dtmc.ini" |
int | TCP_TIMEOUT = 10000 |
string | TCP_TIMEOUT_CONFIG_NAME = "timeout" |
string | DTM_HOST = "clientHost" |
string | DTM_PORT = "clientPort" |
list | TASKS = ["NEW", "CHECK", "TERMINATE", "GET", "STATUS", "CLEANUP", "GET_TASKS"] |
string | LOG_CONFIG_SECTION_NAME = "Application" |
string | LOG_CONFIG_OPTION_NAME = "log" |
string | ERROR_STR1 = "Not present [--help] or [--task] mandatory args" |
string | ERROR_STR2 = "Absents [--file] arg with [--task] arg" |
string | ERROR_STR3 = "[--task] arg's value not present in value's list" |
string | ERROR_STR4 = "[--file] wrong filename" |
string | ERROR_STR5 = "Wrong JSON format" |
string | ERROR_STR6 = "DTMC exception msg={0}" |
string | ERROR_STR7 = "Network communicate timeout={0} mls" |
string | ERROR_STR8 = "Wrong Response eventObject type for {0} must be {1}" |
string | ERROR_STR9 = "Not open Config file" |
string | ERROR_STR10 = "Can't find log-ini section in config file" |
string | ERROR_STR11 = "Error while log initialize" |
string | ERROR_STR12 = "TCP Connection Error" |
string | ERROR_STR13 = "Some Config section error" |
string | ERROR_STR14 = "Unknown task" |
int | ERROR_NOERROR = 0 |
int | ERROR_NO_CONFIG = 2 |
int | ERROR_ARGS1 = 2 |
int | ERROR_ARGS2 = 2 |
int | ERROR_BAD_TASK = 2 |
int | ERROR_CONFIG_SECTION = 2 |
int | ERROR_BAD_FILE_NAME = 1 |
int | ERROR_BAD_JSON = 1 |
int | ERROR_DTMC = 1 |
int | ERROR_NETWORK = 1 |
int | ERROR_WRONG_RESPONSE = 1 |
int | ERROR_LOG_SECTION_ERROR = 1 |
int | ERROR_LOG_INIT = 1 |
int | ERROR_CONNECTION = 1 |
int | ERROR_UNKNOWN_TASK = 1 |
Created on Mar 19, 2014 @package: dtm @author: scorp @link: http://hierarchical-cluster-engine.com/ @copyright: Copyright © 2013-2014 IOIX Ukraine @license: http://hierarchical-cluster-engine.com/license/ @since: 0.1
string dtmc.Constants.APP_NAME = "dtmc" |
Definition at line 12 of file Constants.py.
string dtmc.Constants.DEFAULT_CONFIG_NAME1 = "./dtmc.ini" |
Definition at line 13 of file Constants.py.
string dtmc.Constants.DEFAULT_CONFIG_NAME2 = "/ect/dtmc.ini" |
Definition at line 14 of file Constants.py.
string dtmc.Constants.DTM_HOST = "clientHost" |
Definition at line 17 of file Constants.py.
string dtmc.Constants.DTM_PORT = "clientPort" |
Definition at line 18 of file Constants.py.
int dtmc.Constants.ERROR_ARGS1 = 2 |
Definition at line 41 of file Constants.py.
int dtmc.Constants.ERROR_ARGS2 = 2 |
Definition at line 42 of file Constants.py.
int dtmc.Constants.ERROR_BAD_FILE_NAME = 1 |
Definition at line 45 of file Constants.py.
int dtmc.Constants.ERROR_BAD_JSON = 1 |
Definition at line 46 of file Constants.py.
int dtmc.Constants.ERROR_BAD_TASK = 2 |
Definition at line 43 of file Constants.py.
int dtmc.Constants.ERROR_CONFIG_SECTION = 2 |
Definition at line 44 of file Constants.py.
int dtmc.Constants.ERROR_CONNECTION = 1 |
Definition at line 52 of file Constants.py.
int dtmc.Constants.ERROR_DTMC = 1 |
Definition at line 47 of file Constants.py.
int dtmc.Constants.ERROR_LOG_INIT = 1 |
Definition at line 51 of file Constants.py.
int dtmc.Constants.ERROR_LOG_SECTION_ERROR = 1 |
Definition at line 50 of file Constants.py.
int dtmc.Constants.ERROR_NETWORK = 1 |
Definition at line 48 of file Constants.py.
int dtmc.Constants.ERROR_NO_CONFIG = 2 |
Definition at line 40 of file Constants.py.
int dtmc.Constants.ERROR_NOERROR = 0 |
Definition at line 39 of file Constants.py.
string dtmc.Constants.ERROR_STR1 = "Not present [--help] or [--task] mandatory args" |
Definition at line 23 of file Constants.py.
string dtmc.Constants.ERROR_STR10 = "Can't find log-ini section in config file" |
Definition at line 32 of file Constants.py.
string dtmc.Constants.ERROR_STR11 = "Error while log initialize" |
Definition at line 33 of file Constants.py.
string dtmc.Constants.ERROR_STR12 = "TCP Connection Error" |
Definition at line 34 of file Constants.py.
string dtmc.Constants.ERROR_STR13 = "Some Config section error" |
Definition at line 35 of file Constants.py.
string dtmc.Constants.ERROR_STR14 = "Unknown task" |
Definition at line 36 of file Constants.py.
string dtmc.Constants.ERROR_STR2 = "Absents [--file] arg with [--task] arg" |
Definition at line 24 of file Constants.py.
string dtmc.Constants.ERROR_STR3 = "[--task] arg's value not present in value's list" |
Definition at line 25 of file Constants.py.
string dtmc.Constants.ERROR_STR4 = "[--file] wrong filename" |
Definition at line 26 of file Constants.py.
string dtmc.Constants.ERROR_STR5 = "Wrong JSON format" |
Definition at line 27 of file Constants.py.
string dtmc.Constants.ERROR_STR6 = "DTMC exception msg={0}" |
Definition at line 28 of file Constants.py.
string dtmc.Constants.ERROR_STR7 = "Network communicate timeout={0} mls" |
Definition at line 29 of file Constants.py.
string dtmc.Constants.ERROR_STR8 = "Wrong Response eventObject type for {0} must be {1}" |
Definition at line 30 of file Constants.py.
string dtmc.Constants.ERROR_STR9 = "Not open Config file" |
Definition at line 31 of file Constants.py.
int dtmc.Constants.ERROR_UNKNOWN_TASK = 1 |
Definition at line 53 of file Constants.py.
int dtmc.Constants.ERROR_WRONG_RESPONSE = 1 |
Definition at line 49 of file Constants.py.
string dtmc.Constants.LOG_CONFIG_OPTION_NAME = "log" |
Definition at line 21 of file Constants.py.
string dtmc.Constants.LOG_CONFIG_SECTION_NAME = "Application" |
Definition at line 20 of file Constants.py.
list dtmc.Constants.TASKS = ["NEW", "CHECK", "TERMINATE", "GET", "STATUS", "CLEANUP", "GET_TASKS"] |
Definition at line 19 of file Constants.py.
int dtmc.Constants.TCP_TIMEOUT = 10000 |
Definition at line 15 of file Constants.py.
string dtmc.Constants.TCP_TIMEOUT_CONFIG_NAME = "timeout" |
Definition at line 16 of file Constants.py.