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
Constants.py File Reference

Go to the source code of this file.

Namespaces

 dtmc.Constants
 

Variables

string dtmc.Constants.APP_NAME = "dtmc"
 
string dtmc.Constants.DEFAULT_CONFIG_NAME1 = "./dtmc.ini"
 
string dtmc.Constants.DEFAULT_CONFIG_NAME2 = "/ect/dtmc.ini"
 
int dtmc.Constants.TCP_TIMEOUT = 10000
 
string dtmc.Constants.TCP_TIMEOUT_CONFIG_NAME = "timeout"
 
string dtmc.Constants.DTM_HOST = "clientHost"
 
string dtmc.Constants.DTM_PORT = "clientPort"
 
list dtmc.Constants.TASKS = ["NEW", "CHECK", "TERMINATE", "GET", "STATUS", "CLEANUP", "GET_TASKS"]
 
string dtmc.Constants.LOG_CONFIG_SECTION_NAME = "Application"
 
string dtmc.Constants.LOG_CONFIG_OPTION_NAME = "log"
 
string dtmc.Constants.ERROR_STR1 = "Not present [--help] or [--task] mandatory args"
 
string dtmc.Constants.ERROR_STR2 = "Absents [--file] arg with [--task] arg"
 
string dtmc.Constants.ERROR_STR3 = "[--task] arg's value not present in value's list"
 
string dtmc.Constants.ERROR_STR4 = "[--file] wrong filename"
 
string dtmc.Constants.ERROR_STR5 = "Wrong JSON format"
 
string dtmc.Constants.ERROR_STR6 = "DTMC exception msg={0}"
 
string dtmc.Constants.ERROR_STR7 = "Network communicate timeout={0} mls"
 
string dtmc.Constants.ERROR_STR8 = "Wrong Response eventObject type for {0} must be {1}"
 
string dtmc.Constants.ERROR_STR9 = "Not open Config file"
 
string dtmc.Constants.ERROR_STR10 = "Can't find log-ini section in config file"
 
string dtmc.Constants.ERROR_STR11 = "Error while log initialize"
 
string dtmc.Constants.ERROR_STR12 = "TCP Connection Error"
 
string dtmc.Constants.ERROR_STR13 = "Some Config section error"
 
string dtmc.Constants.ERROR_STR14 = "Unknown task"
 
int dtmc.Constants.ERROR_NOERROR = 0
 
int dtmc.Constants.ERROR_NO_CONFIG = 2
 
int dtmc.Constants.ERROR_ARGS1 = 2
 
int dtmc.Constants.ERROR_ARGS2 = 2
 
int dtmc.Constants.ERROR_BAD_TASK = 2
 
int dtmc.Constants.ERROR_CONFIG_SECTION = 2
 
int dtmc.Constants.ERROR_BAD_FILE_NAME = 1
 
int dtmc.Constants.ERROR_BAD_JSON = 1
 
int dtmc.Constants.ERROR_DTMC = 1
 
int dtmc.Constants.ERROR_NETWORK = 1
 
int dtmc.Constants.ERROR_WRONG_RESPONSE = 1
 
int dtmc.Constants.ERROR_LOG_SECTION_ERROR = 1
 
int dtmc.Constants.ERROR_LOG_INIT = 1
 
int dtmc.Constants.ERROR_CONNECTION = 1
 
int dtmc.Constants.ERROR_UNKNOWN_TASK = 1