Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python3.6 /
site-packages /
zmq /
devices /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-03-29 05:07
__init__.py
576
B
-rw-r--r--
2018-02-10 08:02
basedevice.py
6.93
KB
-rw-r--r--
2018-02-10 08:02
monitoredqueue.cpython-36m-x86_64-linux-gnu.so
60.84
KB
-rwxr-xr-x
2022-03-16 07:01
monitoredqueue.pxd
6.24
KB
-rw-r--r--
2018-02-10 08:02
monitoredqueue.py
1.02
KB
-rw-r--r--
2018-02-10 08:02
monitoredqueuedevice.py
1.95
KB
-rw-r--r--
2018-02-10 08:02
proxydevice.py
2.44
KB
-rw-r--r--
2018-02-10 08:02
Save
Rename
"""MonitoredQueue classes and functions.""" # Copyright (C) PyZMQ Developers # Distributed under the terms of the Modified BSD License. from zmq import ZMQError, PUB from zmq.devices.proxydevice import ProxyBase, Proxy, ThreadProxy, ProcessProxy from zmq.devices.monitoredqueue import monitored_queue class MonitoredQueueBase(ProxyBase): """Base class for overriding methods.""" _in_prefix = b'' _out_prefix = b'' def __init__(self, in_type, out_type, mon_type=PUB, in_prefix=b'in', out_prefix=b'out'): ProxyBase.__init__(self, in_type=in_type, out_type=out_type, mon_type=mon_type) self._in_prefix = in_prefix self._out_prefix = out_prefix def run_device(self): ins,outs,mons = self._setup_sockets() monitored_queue(ins, outs, mons, self._in_prefix, self._out_prefix) class MonitoredQueue(MonitoredQueueBase, Proxy): """Class for running monitored_queue in the background. See zmq.devices.Device for most of the spec. MonitoredQueue differs from Proxy, only in that it adds a ``prefix`` to messages sent on the monitor socket, with a different prefix for each direction. MQ also supports ROUTER on both sides, which zmq.proxy does not. If a message arrives on `in_sock`, it will be prefixed with `in_prefix` on the monitor socket. If it arrives on out_sock, it will be prefixed with `out_prefix`. A PUB socket is the most logical choice for the mon_socket, but it is not required. """ pass class ThreadMonitoredQueue(MonitoredQueueBase, ThreadProxy): """Run zmq.monitored_queue in a background thread. See MonitoredQueue and Proxy for details. """ pass class ProcessMonitoredQueue(MonitoredQueueBase, ProcessProxy): """Run zmq.monitored_queue in a background thread. See MonitoredQueue and Proxy for details. """ __all__ = [ 'MonitoredQueue', 'ThreadMonitoredQueue', 'ProcessMonitoredQueue' ]