7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED |
7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED |
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
10 # FOR A PARTICULAR PURPOSE. |
10 # FOR A PARTICULAR PURPOSE. |
11 # |
11 # |
12 from pyams_zmq.socket import zmq_socket, zmq_response |
|
13 |
12 |
14 __docformat__ = 'restructuredtext' |
13 __docformat__ = 'restructuredtext' |
15 |
14 |
16 |
15 |
17 # import standard library |
16 # import standard library |
18 import zmq |
|
19 |
17 |
20 # import interfaces |
18 # import interfaces |
21 from pyams_scheduler.interfaces import IScheduler, ISchedulerHandler, SCHEDULER_HANDLER_KEY |
19 from pyams_scheduler.interfaces import IScheduler, ISchedulerHandler, SCHEDULER_HANDLER_KEY |
22 from zope.intid.interfaces import IIntIds |
20 from zope.intid.interfaces import IIntIds |
23 |
21 |
24 # import packages |
22 # import packages |
25 from pyams_utils.registry import query_utility |
23 from pyams_utils.registry import query_utility |
|
24 from pyams_zmq.socket import zmq_socket, zmq_response |
26 from pyramid.threadlocal import get_current_registry |
25 from pyramid.threadlocal import get_current_registry |
27 from zope.container.folder import Folder |
26 from zope.container.folder import Folder |
28 from zope.interface import implementer |
27 from zope.interface import implementer |
29 from zope.schema.fieldproperty import FieldProperty |
28 from zope.schema.fieldproperty import FieldProperty |
30 |
29 |