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
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
i
j
l
m
o
p
r
s
t
u
v
w
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
▼
HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.
►
HCE project, Python bindings, Distributed Tasks Manager application, Distributed Crawler service.
Todo List
►
Namespaces
►
Classes
▼
Files
►
File List
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
Event.py
Go to the documentation of this file.
1
'''
2
Created on Feb 25, 2014
3
4
@author: igor
5
'''
6
7
from
transport.UIDGenerator
import
UIDGenerator
8
9
13
class
Event
(object):
14
15
16
def
__init__
(self, uid, eventType, eventObj):
17
'''
18
Constructor
19
'''
20
self.
uid
= uid
21
self.
connect_name
=
""
#set later
22
self.
connect_identity
=
""
23
self.
cookie
=
None
24
self.
eventType
= eventType
25
self.
eventObj
= eventObj
26
27
28
29
class
EventBuilder
(object):
30
31
32
def
__init__
(self):
33
self.
uidGenerator
=
UIDGenerator
()
34
35
36
def
build
(self, eventType, eventObj):
37
event_uid = self.
uidGenerator
.get_uid()
38
return
Event
(event_uid, eventType, eventObj)
transport.UIDGenerator
Definition:
UIDGenerator.py:1
transport.Event.Event.uid
uid
Definition:
Event.py:20
transport.Event.EventBuilder.uidGenerator
uidGenerator
Definition:
Event.py:33
transport.Event.EventBuilder
Definition:
Event.py:29
transport.Event.Event.eventObj
eventObj
Definition:
Event.py:25
transport.Event.EventBuilder.build
def build(self, eventType, eventObj)
Definition:
Event.py:36
transport.Event.Event
Wrapper for structures passed between components of dtm.
Definition:
Event.py:13
transport.Event.Event.eventType
eventType
Definition:
Event.py:24
transport.Event.Event.__init__
def __init__(self, uid, eventType, eventObj)
Definition:
Event.py:16
transport.Event.Event.connect_name
connect_name
Definition:
Event.py:21
transport.Event.Event.cookie
cookie
Definition:
Event.py:23
transport.UIDGenerator.UIDGenerator
UIDGenerator is used to generate unique message id.
Definition:
UIDGenerator.py:14
transport.Event.EventBuilder.__init__
def __init__(self)
Definition:
Event.py:32
transport.Event.Event.connect_identity
connect_identity
Definition:
Event.py:22
sources
hce
transport
Event.py
Generated on Fri Nov 24 2017 18:54:03 for HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings. by
1.8.13