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
dtm.EventObjects.System Class Reference

AvailableTaskIds event object, for return all available task id. More...

Inheritance diagram for dtm.EventObjects.System:
Collaboration diagram for dtm.EventObjects.System:

Public Member Functions

def __init__ (self, stype=0, data=None)
 constructor initialize task's fields More...
 
def toJSON (self)
 

Public Attributes

 type
 
 data
 

Detailed Description

AvailableTaskIds event object, for return all available task id.

Definition at line 1142 of file EventObjects.py.

Constructor & Destructor Documentation

◆ __init__()

def dtm.EventObjects.System.__init__ (   self,
  stype = 0,
  data = None 
)

constructor initialize task's fields

Parameters
idsThe sequence of all task ids

Definition at line 1147 of file EventObjects.py.

1147  def __init__(self, stype=0, data=None):
1148  self.type = stype
1149  self.data = data
1150 
1151 
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Function Documentation

◆ toJSON()

def dtm.EventObjects.System.toJSON (   self)

Definition at line 1152 of file EventObjects.py.

1152  def toJSON(self):
1153  return json.dumps(self, default=lambda o: o.__dict__, sort_keys=True, indent=4)
1154 
1155 
1156 

Member Data Documentation

◆ data

dtm.EventObjects.System.data

Definition at line 1149 of file EventObjects.py.

◆ type

dtm.EventObjects.System.type

Definition at line 1148 of file EventObjects.py.


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