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

 dtma.Constants
 

Variables

string dtma.Constants.APP_NAME = "dtma"
 
string dtma.Constants.SERVER_CONFIG_SECTION_NAME = "Server"
 
string dtma.Constants.SERVER_CONFIG_OPTION_NAME = "instantiateSequence"
 
string dtma.Constants.SERVER_CONFIG_OPTION_NAME2 = "shutdownSequence"
 
string dtma.Constants.DEFAULT_CONFIG_NAME1 = "./dtma.ini"
 
string dtma.Constants.DEFAULT_CONFIG_NAME2 = "/ect/dtma.ini"
 
int dtma.Constants.TCP_TIMEOUT = 10000
 
string dtma.Constants.TCP_TIMEOUT_CONFIG_NAME = "timeout"
 
string dtma.Constants.DTM_HOST = "clientHost"
 
string dtma.Constants.DTM_PORT = "clientPort"
 
list dtma.Constants.TASKS = ["STAT", "SET", "GET", "STOP", "SUSPEND", "SYSTEM", "SQL_CUSTOM"]
 
string dtma.Constants.FIELDS_SEPARATOR = ","
 
string dtma.Constants.NAME_VALUE_SEPARATOR = ":"
 
string dtma.Constants.LOG_CONFIG_SECTION_NAME = "Application"
 
string dtma.Constants.LOG_CONFIG_OPTION_NAME = "log"
 
string dtma.Constants.ERROR_STR1 = "Not present [--help] or [--cmd] mandatory args"
 
string dtma.Constants.ERROR_STR2 = "Not present [--fields] or [--classes] mandatory args"
 
string dtma.Constants.ERROR_STR3 = "Not found config [{0}.{1}] section"
 
string dtma.Constants.ERROR_STR4 = "Bad or empty --fields arg"
 
string dtma.Constants.ERROR_STR5 = "Bad or empty --classes arg"
 
string dtma.Constants.ERROR_STR7 = "Network communicate timeout={0} mls"
 
string dtma.Constants.ERROR_STR8 = "Can't find log-ini section in config file"
 
string dtma.Constants.ERROR_STR9 = "Not open Config file"
 
string dtma.Constants.ERROR_STR10 = "Error while log initialize"
 
int dtma.Constants.ERROR_NOERROR = 0
 
int dtma.Constants.ERROR_NO_CONFIG = 2
 
int dtma.Constants.ERROR_ARGS1 = 2
 
int dtma.Constants.ERROR_ARGS2 = 2
 
int dtma.Constants.ERROR_CONFIG_SECTION = 2
 
int dtma.Constants.ERROR_FIELDS_ARG = 2
 
int dtma.Constants.ERROR_CLASSES_ARG = 2
 
int dtma.Constants.ERROR_NETWORK = 1
 
int dtma.Constants.ERROR_LOG_SECTION_ERROR = 1
 
int dtma.Constants.ERROR_LOG_INIT = 1