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
|
Convertor which used to convert Task*Reques to json and TaskResponse from json. More...
Public Member Functions | |
def | to_json (self, command) |
convert from Task*Reques object to json string More... | |
def | from_json (self, json_string) |
convert from json string to TaskResponse More... | |
Convertor which used to convert Task*Reques to json and TaskResponse from json.
Convert Request to json and restore Response from json
Definition at line 112 of file CommandConvertor.py.
def drce.CommandConvertor.CommandConvertor_old.from_json | ( | self, | |
json_string | |||
) |
convert from json string to TaskResponse
json_string | json string |
Definition at line 145 of file CommandConvertor.py.
def drce.CommandConvertor.CommandConvertor_old.to_json | ( | self, | |
command | |||
) |
convert from Task*Reques object to json string
command | an instance of Task*Reques object |
Definition at line 121 of file CommandConvertor.py.