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
drce.Commands.TaskTerminateRequest Class Reference

Terminate task request. More...

Inheritance diagram for drce.Commands.TaskTerminateRequest:
Collaboration diagram for drce.Commands.TaskTerminateRequest:

Public Member Functions

def __init__ (self, tId)
 
- Public Member Functions inherited from drce.Commands.BaseRequest
def __init__ (self, ctype, cid)
 constructor More...
 
- Public Member Functions inherited from app.Utils.JsonSerializable
def __init__ (self)
 
def toJSON (self)
 

Public Attributes

 data
 
- Public Attributes inherited from drce.Commands.BaseRequest
 type
 
 data
 
 id
 
 route
 
 task_type
 

Additional Inherited Members

- Static Public Member Functions inherited from app.Utils.JsonSerializable
def json_serial (obj)
 

Detailed Description

Terminate task request.

Definition at line 191 of file Commands.py.

Constructor & Destructor Documentation

◆ __init__()

def drce.Commands.TaskTerminateRequest.__init__ (   self,
  tId 
)

Definition at line 194 of file Commands.py.

194  def __init__(self, tId):
195  super(TaskTerminateRequest, self).__init__(consts.TERMINATE_TASK, tId)
196 
197  self.data = dict({"alg":consts.TERMINATE_ALGORITHM_DEFAULT,
198  "delay":1,
199  "repeat":1,
200  "signal":9,
201  "cleanup":consts.TERMINATE_DATA_DELETE
202  })
203 
204 
205 
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Data Documentation

◆ data

drce.Commands.TaskTerminateRequest.data

Definition at line 197 of file Commands.py.


The documentation for this class was generated from the following file: