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
admin.Command.Command Class Reference

Command class contents "commad" data and processing methods. More...

Inheritance diagram for admin.Command.Command:
Collaboration diagram for admin.Command.Command:

Public Member Functions

def __init__ (self, commandName=None, params=None, adminHandler=ADMIN_HANDLERS.ADMIN, requestTimeout=None)
 
def setCommandName (self, commandName)
 
def setParams (self, params)
 
def setAdminHandler (self, adminHandler)
 
def setRequestTimeout (self, requestTimeout)
 
def getCommandName (self)
 
def getParams (self)
 
def getAdminHandler (self)
 
def getRequestTimeout (self)
 

Public Attributes

 commandName
 
 params
 
 adminHandler
 
 requestTimeout
 

Detailed Description

Command class contents "commad" data and processing methods.

Definition at line 16 of file Command.py.

Constructor & Destructor Documentation

◆ __init__()

def admin.Command.Command.__init__ (   self,
  commandName = None,
  params = None,
  adminHandler = ADMIN_HANDLERS.ADMIN,
  requestTimeout = None 
)

Definition at line 17 of file Command.py.

17  def __init__(self, commandName=None, params=None, adminHandler=ADMIN_HANDLERS.ADMIN, requestTimeout=None):
18  self.commandName = commandName
19  if params == None:
20  params = []
21  self.params = params
22  self.adminHandler = adminHandler
23  self.requestTimeout = requestTimeout
24 
25 
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Function Documentation

◆ getAdminHandler()

def admin.Command.Command.getAdminHandler (   self)

Definition at line 50 of file Command.py.

50  def getAdminHandler(self):
51  return self.adminHandler
52 
53 

◆ getCommandName()

def admin.Command.Command.getCommandName (   self)

Definition at line 42 of file Command.py.

42  def getCommandName(self):
43  return self.commandName
44 
45 

◆ getParams()

def admin.Command.Command.getParams (   self)

Definition at line 46 of file Command.py.

46  def getParams(self):
47  return self.params
48 
49 

◆ getRequestTimeout()

def admin.Command.Command.getRequestTimeout (   self)

Definition at line 54 of file Command.py.

54  def getRequestTimeout(self):
55  return self.requestTimeout
56 
57 

◆ setAdminHandler()

def admin.Command.Command.setAdminHandler (   self,
  adminHandler 
)

Definition at line 34 of file Command.py.

34  def setAdminHandler(self, adminHandler):
35  self.adminHandler = adminHandler
36 
37 

◆ setCommandName()

def admin.Command.Command.setCommandName (   self,
  commandName 
)

Definition at line 26 of file Command.py.

26  def setCommandName(self, commandName):
27  self.commandName = commandName
28 
29 

◆ setParams()

def admin.Command.Command.setParams (   self,
  params 
)

Definition at line 30 of file Command.py.

30  def setParams(self, params):
31  self.params = params
32 
33 

◆ setRequestTimeout()

def admin.Command.Command.setRequestTimeout (   self,
  requestTimeout 
)

Definition at line 38 of file Command.py.

38  def setRequestTimeout(self, requestTimeout):
39  self.requestTimeout = requestTimeout
40 
41 

Member Data Documentation

◆ adminHandler

admin.Command.Command.adminHandler

Definition at line 22 of file Command.py.

◆ commandName

admin.Command.Command.commandName

Definition at line 18 of file Command.py.

◆ params

admin.Command.Command.params

Definition at line 21 of file Command.py.

◆ requestTimeout

admin.Command.Command.requestTimeout

Definition at line 23 of file Command.py.


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