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
|
Class SystemCommandHandler for support different system command. More...
Public Member Functions | |
def | __init__ (self, logger=None) |
Constructor. More... | |
def | execute (self, typeNumber, inputData=None) |
Execute system command. More... | |
def | onGarbageCollectorCleanupHandler (self, inputData=None) |
Handler of garbage collector cleanup. More... | |
Public Attributes | |
logger | |
errorMsg | |
handlers | |
Static Public Attributes | |
string | ERROR_NOT_SUPPORTED_TYPE = 'Not supported type of SystemCommandHandler' |
Constans of error messages. More... | |
int | ERROR_OK = 0 |
Constans error codes. More... | |
int | ERROR_FAIL = 1 |
Class SystemCommandHandler for support different system command.
Definition at line 20 of file SystemCommandHandler.py.
def app.SystemCommandHandler.SystemCommandHandler.__init__ | ( | self, | |
logger = None |
|||
) |
Constructor.
logger | - logger instance |
Definition at line 29 of file SystemCommandHandler.py.
def app.SystemCommandHandler.SystemCommandHandler.execute | ( | self, | |
typeNumber, | |||
inputData = None |
|||
) |
Execute system command.
typeNumber | - type number of system command as integer |
inputData | - input data |
Definition at line 40 of file SystemCommandHandler.py.
def app.SystemCommandHandler.SystemCommandHandler.onGarbageCollectorCleanupHandler | ( | self, | |
inputData = None |
|||
) |
Handler of garbage collector cleanup.
inputData | - input data |
Definition at line 61 of file SystemCommandHandler.py.
|
static |
Definition at line 25 of file SystemCommandHandler.py.
|
static |
Constans of error messages.
Definition at line 22 of file SystemCommandHandler.py.
|
static |
Constans error codes.
Definition at line 24 of file SystemCommandHandler.py.
app.SystemCommandHandler.SystemCommandHandler.errorMsg |
Definition at line 31 of file SystemCommandHandler.py.
app.SystemCommandHandler.SystemCommandHandler.handlers |
Definition at line 32 of file SystemCommandHandler.py.
app.SystemCommandHandler.SystemCommandHandler.logger |
Definition at line 30 of file SystemCommandHandler.py.