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.BaseRequest Class Reference

Base command for all dre request command. More...

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

Public Member Functions

def __init__ (self, ctype, cid)
 constructor More...
 

Public Attributes

 type
 
 data
 
 id
 
 route
 
 task_type
 

Detailed Description

Base command for all dre request command.

Definition at line 12 of file Commands.py.

Constructor & Destructor Documentation

◆ __init__()

def drce.Commands.BaseRequest.__init__ (   self,
  ctype,
  cid 
)

constructor

Parameters
typectype of a command
cid- a command id

Definition at line 18 of file Commands.py.

18  def __init__(self, ctype, cid):
19  super(BaseRequest, self).__init__()
20 
21  self.type = ctype
22  #@var data
23  #a member variable, hold command data
24  self.data = dict()
25  self.id = cid
26  self.route = None
27  self.task_type = 0
28 
29 
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Data Documentation

◆ data

drce.Commands.BaseRequest.data

Definition at line 24 of file Commands.py.

◆ id

drce.Commands.BaseRequest.id

Definition at line 25 of file Commands.py.

◆ route

drce.Commands.BaseRequest.route

Definition at line 26 of file Commands.py.

◆ task_type

drce.Commands.BaseRequest.task_type

Definition at line 27 of file Commands.py.

◆ type

drce.Commands.BaseRequest.type

Definition at line 21 of file Commands.py.


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