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
ftest_drce_serializable.py
Go to the documentation of this file.
1
'''
2
HCE project, Python bindings, DRCE module
3
Event objects functional tests.
4
5
@package: drce
6
@author bgv bgv.hce@gmail.com
7
@link: http://hierarchical-cluster-engine.com/
8
@copyright: Copyright © 2015 IOIX Ukraine
9
@license: http://hierarchical-cluster-engine.com/license/
10
@since: 0.1
11
'''
12
13
14
from
drce.Commands
import
TaskExecuteRequest
15
from
drce.Commands
import
TaskCheckRequest
16
from
drce.Commands
import
TaskGetDataRequest
17
from
drce.Commands
import
TaskTerminateRequest
18
from
drce.Commands
import
TaskDeleteRequest
19
20
c =
TaskExecuteRequest
(125)
21
print
c.toJSON()
22
23
c =
TaskCheckRequest
(125, 0)
24
print
c.toJSON()
25
26
c =
TaskGetDataRequest
(125, 0)
27
print
c.toJSON()
28
29
c =
TaskTerminateRequest
(125)
30
print
c.toJSON()
31
32
c =
TaskDeleteRequest
(125)
33
print
c.toJSON()
drce.Commands.TaskCheckRequest
Check task request.
Definition:
Commands.py:169
drce.Commands.TaskDeleteRequest
Delete task request.
Definition:
Commands.py:208
drce.Commands
Definition:
Commands.py:1
drce.Commands.TaskExecuteRequest
wrapper for task request
Definition:
Commands.py:158
drce.Commands.TaskGetDataRequest
Get task's data request.
Definition:
Commands.py:180
drce.Commands.TaskTerminateRequest
Terminate task request.
Definition:
Commands.py:191
sources
hce
ftests
ftest_drce_serializable.py
Generated on Fri Nov 24 2017 18:54:00 for HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings. by
1.8.13