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
NodeManagerResponse.py
Go to the documentation of this file.
1 '''
2 Created on Feb 17, 2014
3 
4 @author: scorp
5 @link: http://hierarchical-cluster-engine.com/
6 @copyright: Copyright © 2013-2014 IOIX Ukraine
7 @license: http://hierarchical-cluster-engine.com/license/
8 @since: 0.1
9 '''
10 
11 import Constants as CONSTANTS
12 
13 
14 class NodeManagerResponse(object):
15  def __init__(self, errorCode=CONSTANTS.ERROR_NO, body=None):
16  self.errorCode = errorCode
17  self.body = body
18 
19 
20  def getErrorCode(self):
21  return self.errorCode
22 
23 
24  def getBody(self):
25  return self.body
NodeManagerResponse class that represents admin modules response.
def __init__(self, errorCode=CONSTANTS.ERROR_NO, body=None)